Re: Decompose string into list
- To: mathgroup at smc.vnet.net
- Subject: [mg64087] Re: Decompose string into list
- From: "kkumer" <kkumer at gmail.com>
- Date: Wed, 1 Feb 2006 04:34:18 -0500 (EST)
- References: <drn0nb$keo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Well, one approach could be: In[1]:= str="Foo bar" Out[1]= Foo bar In[2]:= StringTake[str, {#}]& /@ Range[StringLength[str]] Out[2]= {F, o, o, , b, a, r} HTH, -Kresimir