[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info MCL Digest V1 #154



>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?

When i asked this q a coupla months ago, the answer *I* needed anyway was:

   (intern (string-upcase "somestring") (find-package :cl-user))

I had tried "intern" but thought it wasn't working because I gave it a
lowercase string and MCL (as documented) through some bars around it before
interning.

Sorry, I forget why the cl-user bit was important--or even if it was!