From: matz@... (Yukihiro Matsumoto) Date: 2002-01-22T19:17:52+09:00 Subject: Re: Return the ASCII code ? Hi, In message "Re: Return the ASCII code ?" on 02/01/22, Martin DeMello writes: |> "A".asc -> 65 | |A fairly trivial RCR: given the frequency with which this gets asked, is |there any reason not to add a String#asc method? We have to define the behavior first. What if a string is longer than 1 character? What if the character is NOT in ASCII range (e.g. Unicode)? I can think of several more ambiguity. Don't get me wrong. I'm going to clarify. It's the purpose of RCR. matz.