Re: Conversion of text into Mathematica expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg28187] Re: Conversion of text into Mathematica expressions
- From: "Paul Lutus" <nospam at nosite.com>
- Date: Tue, 3 Apr 2001 02:38:05 -0400 (EDT)
- References: <9a966h$gu3@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Max Ulbrich" <ulbrich at biochem.mpg.de> wrote in message news:9a966h$gu3 at smc.vnet.net... > 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? data = {"1","2","3","4","5"} Map[ToExpression,data] {1,2,3,4,5} -- Paul Lutus www.arachnoid.com