------art_82406_23404343.1174053064076
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 3/16/07, Andrew Stewart <boss / airbladesoftware.com> wrote:
>
> Hello,
>
> What's a (good) way to convert this:
>
>    'a quick "brown fox" jumped "over the lazy" dog'
>
> into this:
>
>    [ 'a', 'quick', 'brown fox', 'jumped', 'over the lazy', 'dog' ] ?
>
> Thanks!
>
> Regards,
> Andy Stewart
>

Do this -
'a quick "brown fox" jumped "over the lazy" dog'.split

Satish Talim
Learning Ruby - http://rubylearning.com/

------art_82406_23404343.1174053064076--