From: Justus Ohlhaver Date: 2008-11-12T22:16:36+09:00 Subject: Convert text string i.e 'Peter' into integer ID Hello, is there any method to quickly convert a text string such as 'Peter' into an integer? (And vice versa?) I am not asking about just changing the format (to_i). I'm looking for a method thus can do the computation. Thanks, Justus -- Posted via http://www.ruby-forum.com/.