Hi all.
I would like to know if there is an opposite of id2name?
I want to turn a string into a symbol.
Adelle.
Hi all.
I would like to know if there is an opposite of id2name?
I want to turn a string into a symbol.
Adelle.
"string".to_sym
"string".to_sym
Thankyou. I had been searching the documentation for over an hour, but not
in the right places.
Adelle.
string.intern
cheers.
-a
On Wed, 27 Apr 2005, Adelle Hartley wrote:
"string".to_sym
Thankyou. I had been searching the documentation for over an hour, but not
in the right places.Adelle.
email :: ara [dot] t [dot] howard [at] noaa [dot] gov
phone :: 303.497.6469
although gold dust is precious, when it gets in your eyes, it obstructs
your vision. --hsi-tang
===============================================================================