Jeff Peng wrote:
> You could use a hash for translating that.

Also works.
Thank you!
-- 
Posted via http://www.ruby-forum.com/.