From: Ruby Student Date: 2009-02-10T03:04:25+09:00 Subject: Re: How to convert a string of arbitrary size to an array --000e0cd15606d9000c0462802f39 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Feb 9, 2009 at 12:45 PM, Ben Bleything wrote: > On Mon, Feb 9, 2009 at 9:43 AM, Ruby Student > wrote: > > I am trying to convert a string of arbitrary size to an array of single > > characters, bu I having a hard time. > > Check out String#split: > > "abcdefg".split( // ) > => ["a", "b", "c", "d", "e", "f", "g"] > > Ben > > Aha! I tried: "abcdefg".split( / / ) # Space between // "abcdefg".scan(//) and other... Thank you very much for your quick reply. Ruby Student --000e0cd15606d9000c0462802f39--