From: Florian Gross Date: 2004-10-25T22:24:07+09:00 Subject: Re: [rcr] String#first / String#last Robert Klemme wrote: >>| |adding a to_a might be good >>| "to_a" works line-wise. Perhaps "explode" >>RCR for #chars > This does not yield characters but strings with length 1. Note also that > there is String#each_byte which is often sufficient. The problem with String#each_byte is that nobody wants to handle characters as Integers in Ruby, IMHO. (I think one-character Strings are preferred, because they still let you use lots of Strings useful methods.) > Kind regards > robert More regards, Florian Gross