Newsgroups: comp.lang.lisp
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!defmacro.utah.edu!moore
From: moore%defmacro.utah.edu@cs.utah.edu (Tim Moore)
Subject: Re: string to symbol conversion
Date: 21 Jun 91 10:27:56 MDT
Message-ID: <1991Jun21.102756.29132@hellgate.utah.edu>
Organization: University of Utah CS Dept
References: <80761@eerie.acsu.Buffalo.EDU>
Distribution: na

In article <80761@eerie.acsu.Buffalo.EDU> lewocz@pegasus.cs.Buffalo.EDU (John S. Lewocz) writes:
>Is there any way to convert an arbitrary string like "bob" into the 
>symbol bob in Common Lisp?

(intern "bob") =>
|bob|
NIL

(intern (string-upcase "bob")) =>
BOB
NIL

-- 
Tim Moore                    moore@cs.utah.edu {bellcore,hplabs}!utah-cs!moore
"Ah, youth. Ah, statute of limitations."
		-John Waters
