[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string to symbol, how?
- To: Manfred Stede <stede@faw.uni-ulm.de>
- Subject: Re: string to symbol, how?
- From: balls@medcolpa.edu
- Date: Sat, 06 May 1995 13:35:11 -0400
- Cc: info-mcl@digitool.com
- In-reply-to: <3ocrgq$7in@waage.rz.uni-ulm.de>
- Sender: owner-info-mcl@digitool.com
On Fri, 5 May 1995, Manfred Stede wrote:
> I know it has been discussed here a while ago, but I thought
> I'd never need it and didn't pay attention :-( Now I do need
> it: can someone tell me how to convert a string to a symbol?
read-from-string might work for you.
? (read-from-string "symbol")
SYMBOL
6
? (read-from-string "symbol from string")
SYMBOL
7
? (read-from-string "symbol from string" nil 'done :start 12)
STRING
18
(symbolp (read-from-string "symbol from string"))
T
?
Sheldon S. Ball
BALLS@ccc.medcolpa.edu