From: an an Date: 2008-02-09T03:51:56+09:00 Subject: converting strings to booleans, symbols, etc Hi, I am parsing an xml document, and I wanted to know if there is a quick built in way to convert a string to a symbol or a boolean. an example xml doc would be: data Now I know I can do some string compares, and set the variable accordingly, but I was wondering if there are shortcuts, much like the to_i method. thanks! -- Posted via http://www.ruby-forum.com/.