Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

split string ignoring spaces in double quotes

  •  11-30-2006, 7:36 AM

    split string ignoring spaces in double quotes

    im trying to convert a string into arrays in javascript using split() function. how to i split a string using spaces as a delimiter but ignoring spaces enclosed by double quotes. ie: john robert "peter rabbit" ?
    Filed under:
View Complete Thread