From: Yukihiro Matsumoto Date: 2007-02-06T14:44:32+09:00 Subject: Re: String.ord Hi, In message "Re: String.ord" on Tue, 6 Feb 2007 12:28:12 +0900, David Flanagan writes: |> I just followed Python convention here. | |Ah ha. I don't know Python well enough, or maybe I would have realized |that. | |It still seems to me that there ought to be a way to get the 1.8 |behavior in a single method call rather than having to call [] and then |call ord on the result. If you don't want to modify ord to accept an |index, Would you consider ordAt(x) or codepoint(x) or something like that? Both having ordAt(index) or making String#ord to return codepoint of the first character are trivial. We have to evaluate pros and cons first. matz.