From: Markus Date: 2004-10-25T13:58:09+09:00 Subject: Re: [rcr] String#first / String#last String#chars would solve the original point as well, at least semantically: "my favorite test string".chars.last # => "g" ...but unless some magic were done, this could be needlessly inefficient. -- Markus On Sun, 2004-10-24 at 21:02, trans. (T. Onoma) wrote: > On Sunday 24 October 2004 11:54 pm, Yukihiro Matsumoto wrote: > | Hi, > | > | In message "Re: [rcr] String#first / String#last" > | > | on Mon, 25 Oct 2004 09:18:51 +0900, Hal Fulton > writes: > | |I think I'd be opposed to that. But adding a to_a might be good -- I > | |frequently do a gratuitous split operation for that purpose. > | > | It already has "to_a" which works line-wise. Perhaps something called > | "explode" in other language is what you want. > > Believe their is an RCR for #chars > > def chars > split(//) > end > > T.