That won't account for arguments that are surrounded by quotes.
On Wed, Apr 2, 2008 at 4:02 PM, <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 2, 2008 at 3:58 PM, Daniel Tripp <[EMAIL PROTECTED]> wrote:
> > Hello. I've been looking for a method to parse a command-line string into
> > an string-array
>
> System.out.println("hello world".split("\\s+"));
>
> -jesse
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]