From: Jim McKerchar Date: 2008-12-10T22:44:43+09:00 Subject: Re: chars method George. If you're not yet ready to move up to a newer version of Ruby, you could always add a chars method to String..... class String def chars self.split( "" ) end end "abcde".chars => ["a", "b", "c", "d", "e"] Jim Robert Dober wrote: > On Wed, Dec 10, 2008 at 9:54 AM, George George > wrote: > Not only 1.9, also 1.8.7 > 519/20 > ruby -v -e 'p " ".chars' > ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] > # > R. > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.16/1840 - Release Date: 09/12/2008 16:53 > >