Re: Converting Strings to Ints.
- To: mathgroup at smc.vnet.net
- Subject: [mg63292] Re: [mg63277] Converting Strings to Ints.
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 23 Dec 2005 05:08:19 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
data={"12223","11313","2424"};
ToExpression[data]
{12223, 11313, 2424}
Bob Hanlon
>
> From: Chrisantha <ctf20 at sussex.ac.uk>
To: mathgroup at smc.vnet.net
> Date: 2005/12/22 Thu AM 12:04:38 EST
> Subject: [mg63292] [mg63277] Converting Strings to Ints.
>
> 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?
>
> Yours Ever and Merry Christmas,
>
> Chrisantha
>
>