From: Sebastian Hungerecker Date: 2008-03-19T19:26:13+09:00 Subject: Re: Split string at spaces, but not when inside quotation marks? Peter Bunyan wrote: > Is there already a built-in method to do this require 'shellwords' Shellwords.shellwords 'Hello "wo rld" how "are \" you today"' => ["Hello", "wo rld", "how", "are \" you today"] HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826