Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Decompose string into list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64092] Re: [mg64079] Decompose string into list
  • From: "Jacob A. Siehler" <siehlerj at wlu.edu>
  • Date: Wed, 1 Feb 2006 04:34:23 -0500 (EST)
  • References: <200601310614.BAA20499@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

> But I want to "decompose" a string into a list composed by its elements, e.g.
> "Foo bar" turns back into {"F", "o", "o", " ", "b", "a", "r"}

S = "Foo bar";

StringTake[S, {#}] & /@ Range[StringLength[S]]


  • Prev by Date: Utilizing the Result From Solve[]
  • Next by Date: does anybody know how to find the inverse Laplace transform of this wierd thing?
  • Previous by thread: Re: Decompose string into list
  • Next by thread: Re: Decompose string into list