Re: how to take quotation marks away ?
- To: mathgroup at smc.vnet.net
- Subject: [mg48532] Re: how to take quotation marks away ?
- From: stagat at mrcsb.com (Bob Stagat)
- Date: Fri, 4 Jun 2004 04:50:10 -0400 (EDT)
- References: <c9k3op$fe7$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Here's one way...
{{"42.1,3.3"}, {"3.1,4.2"}}
TableForm[%]
(Flatten[ToExpression[(StringJoin["{", #1, "}"] & ) /@ #1]] & ) /@ %
TableForm[%]
"Florian Jaccard" <florian.jaccard at eiaj.ch> wrote in message news:<c9k3op$fe7$1 at smc.vnet.net>...
> I have a (long) list of the form {{"42.1,3.3"},{"3.1,4.2"}}
>
> How can I transform it to obtain {{42.1,3.3},{3.1,4.2}} ?
>
> I tried ToExpression, but it failed.
>