Well, you don't really need the 'chr' method, which is a method of class
Integer.  As long as you know about the negative indices, you can also
write

    str[-1, 1]

This is related to item 5 in the newcomers' list
(http://www.glue.umd.edu/~billtj/ruby.html#Getting%20characters%20from%20a%20String)

Regards,

Bill
===========================================================================
Szabolcs Szasz <sz / szasz.hu> wrote:
> Ahhh, yes! Thanks!

> I was reading the Pragmatic... book and the String class
> doesn't have that 'chr' method there. (And a special thanks 
> for the negative indexes, which I missed completely...)