> Second question: I have a string,
> let say
> (setq str "heynow")
> and need to give to a function just the heynow without " around
> it. How can I do that?
The " is not inside the string:
If what you mean is that you want a symbol named "heynow", there are
some considerations to take care of:
- do you mean heynow or HEYNOW or HeyNow?
- what package do you want this symbol in?
If this is what you want, you could use: (intern "heynow" *package*)
> (the string is allways without special
> symbols or spaces/tabs ..) Thank you very much for your answers
> in advanced
This doesn't matter, all characters are valid in symbol names too:
(intern "With special characters such as :, *, \", and '.")
--> |With special characters such as :, *, ", and '.| ;
(princ (intern "With special characters such as :, *, \", and '."))
With special characters such as :, *, ", and '.
--> |With special characters such as :, *, ", and '.|
"What is this talk of "release"? Klingons do not make software
"releases". Our software "escapes" leaving a bloody trail of
designers and quality assurance people in its wake."