From: Paul Lutus Date: 2006-09-27T01:40:14+09:00 Subject: Re: string#[] Newbie wrote: > Why not a 1-character string? A one-character string isn't a character, because a string has the properties of an array. A character (if there were such a thing in Ruby) cannot be expanded into two or more characters as a string can. When you reference a string with a single index, you get back a character code, but this is as close to a character or character class as exists in Ruby. -- Paul Lutus http://www.arachnoid.com