Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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.