MathGroup Archive 2005

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

Search the Archive

Re: Converting Strings to Ints.


On Dec 22, 2005, at 12:04 AM, Chrisantha wrote:

> Dear All,
>
> I have a list of strings representing numbers, i.e. a =
> {"12223","11313","2424"} that I generated in XML and read into
> mathematica. How do I convert this into a list of integers?

ToExpression/@{"12223","11313","2424"}

Regards,

Ssezi


  • Prev by Date: Re: Returning an empty sequence
  • Next by Date: Re: Returning an empty sequence
  • Previous by thread: Converting Strings to Ints.
  • Next by thread: Re: Converting Strings to Ints.