From: Yuichi Masuda Date: 2001-03-06T11:14:21+09:00 Subject: [ruby-talk:12073] Re: Opposite of Integer.chr On Tue, 6 Mar 2001 10:42:59 +0900 jjthrash@pobox.com wrote: > Forgive my ignorance, but I can't seem to find a method that > returns the ASCII value of a given character. Can anyone help me There isn't a method, but you can easily get it: irb(main):007:0> str = "abc" "abc" irb(main):008:0> str[0] 97 irb(main):009:0> str[1] 98 irb(main):010:0> str[2] 99 or irb(main):011:0> ?a 97 irb(main):012:0> ?b 98 irb(main):013:0> ?c 99 hope this helps.