MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Conversion of text into Mathematica expressions


Max:

Use ToExpression:

    Map[ToExpression,yourlist]

or the short form of Map:
     ToExpression/@yourlist

Ken Levasseur
Math. Sciences
UMass Lowell

Max Ulbrich wrote:

> Hi,
>
> does anybody know if there is a possibility to convert text into
> expressions?
> I have something like
>
> {"2.5","3.5"...}
>
> and want to convert it to
>
> {2.5,3.5...}
>
> How can I do that?
>
> Max



  • Prev by Date: Re: Plotting a function of x and y
  • Next by Date: Re: Conversion of text into Mathematica expressions
  • Previous by thread: Conversion of text into Mathematica expressions
  • Next by thread: Re: Conversion of text into Mathematica expressions