MathGroup Archive 2005

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

Search the Archive

Re: String to list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60947] Re: [mg60941] String to list
  • From: "Christoph Lhotka" <lhotka at astro.univie.ac.at>
  • Date: Wed, 5 Oct 2005 02:27:48 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On Tue, 4 Oct 2005 01:25:09 -0400 (EDT)
 Sara <ma_sara177 at hotmail.com> wrote:
> How can I transform a string to a list??
> example:
> Str="Hi every one!"  and the list af str=?????
> 

In[..]:=Characters["abc"]
Out[..]:={"a","b","c"}

In[..]:=StringJoin[%]
Out[..]:="abc"

-- Mag. Christoph Lhotka --
University of Vienna / Institute for Astronomy
mail. lhotka at astro.univie.ac.at


  • Prev by Date: Re: String to list
  • Next by Date: Re: String to list
  • Previous by thread: Re: String to list
  • Next by thread: Re: String to list