From: Farrel Lifson Date: 2007-03-16T21:24:15+09:00 Subject: Re: How to convert a String to an Array? On 16/03/07, RubyCrazy wrote: > Is there a way to convert a String to an Array? I could only find the > following - > 'hello world'.scan(/./) > > Thanks. > irb(main):001:0> "hello world".split(//) => ["h", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d"] I'm not sure if this is functionally the same or if there is some kind of performance boost using split instead of scan. Farrel