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

s  a quick "brown fox" jumped "over the lazy" dog'
a  .split(/"([^"]+)"/).map{|s|s.strip}

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
>
>

------art_44353_9086261.1174056786372--