MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Contour Plot from a non matrix data
  • Next by Date: multipleListPlot does not seem to accept Multiple Hue commands
  • Previous by thread: Re: Decompose string into list
  • Next by thread: Re: Decompose string into list