Re: Converting Strings to Ints.
- To: mathgroup at smc.vnet.net
- Subject: [mg63311] Re: Converting Strings to Ints.
- From: albert <awnl at arcor.de>
- Date: Fri, 23 Dec 2005 05:08:34 -0500 (EST)
- References: <200512200919.EAA28501@smc.vnet.net> <200512210435.XAA14697@smc.vnet.net> <dode99$64c$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
>
> 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"}
should do exactly what you want.
cheers,
albert
- References:
- Expression timing; a black art?
- From: AES <siegman@stanford.edu>
- Re: Expression timing; a black art?
- From: "Carl K. Woll" <carlw@wolfram.com>
- Expression timing; a black art?