Freeman Gilmore <freeman.gilm...@gmail.com> writes:

> How to change a string in to a identical list.
> From  "-3 31 A -6 B -8"  to  (-3 31 A -6 B -8).    (Or from  ("-3"
> "31" "A" "-6" "B" "-8")  to  (-3 31 A -6 B -8)  if it is simpler.)

Why would you even start with a string then instead of reading a list in
the first place?

You can use something like

(with-input-from-string (string-append "( " "-3 31 A -6 B -8" " )") read)

but it looks like you are doing something fundamentally backwards if you
don't read what is supposed to be a list in as a list in the first
place.

-- 
David Kastrup

Reply via email to