From: Stu Date: 2011-07-25T03:50:34+09:00 Subject: Re: why doesn't return ascii code? Hello Amir e. Use this instead for 1.9.2: 'a'.ord 97.chr if you want to keep with the semantics of ? then you can always add ordinal after the ? sigil which will convert it to a string: ?a.ord ~Stu On Sun, Jul 24, 2011 at 6:37 AM, amir e. wrote: > Excuse me, I don't understand what do you mean . please explain very > basic. > I am really beginner. > > -- > Posted via http://www.ruby-forum.com/. > >