From: Szabolcs Szasz Date: 2002-10-20T04:33:37+09:00 Subject: string[lastchar] -> string? How to elegantly get the last char of a string as a string? Somehow I fear I won't be cacthing girls' attention with this: if ('' << str[str.length-1]) = 'x' str.chop do_things_with(str) ... end Thanks, Sab