MathGroup Archive 1995

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

Search the Archive

Re: strings into lists

  • To: mathgroup at
  • Subject: [mg1286] Re: strings into lists
  • From: wagner at bullwinkle.cs.Colorado.EDU (Dave Wagner)
  • Date: Wed, 31 May 1995 05:25:47 -0400
  • Organization: University of Colorado, Boulder

In article <3q6d16$854 at>,
Andreas Knobel <andreas at> wrote:
>I want to turn a string of symbols into a list, yet
>does not seem to work. Is this a bug? On my system
>List@@"a" just renders "a".

I'm not sure if you want to turn every character in the string into
a symbol, but if so, here's how to do it:

    ToExpression /@ Characters["abc"]
    {a, b, c}
    {a, b, c}

		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at

  • Prev by Date: Re: Fastest Mathematica implementation?
  • Next by Date: memory and error messages
  • Previous by thread: strings into lists
  • Next by thread: Numerous Functional Forms