From: matz@... (Yukihiro Matsumoto) Date: 2000-02-21T13:36:51+09:00 Subject: [ruby-talk:01532] Re: ruby <=> python Hi, I don't have easy mail <-> news gateway, so please forgive me for replying here only. In message "[ruby-talk:01529] Re: ruby <=> python" on 00/02/20, Yasushi Shoji writes: |> Characters are integers in ruby. |> 'hello'[0] -> 104 | |no, there is only String class. all char is an instance of class |String. And, [] is a method in class String to get _char code_. | |ah... I noticed that ruby reference manual says: | |> self[nth] |> Retrieves the nth character from a string. | |this should be fixed. Hmm, may I describe: self[nth] Retrieves the nth BYTE value from a string. Because Strings are actually byte strings in Ruby.