Here's an example string -
"EP(DebugFlag="N",UILogFlag="N")" Other words here
I'd like to split the string by spaces, but need to keep quoted phrases together - even if there are quotes within quotes. So I'd like the sample string to be split as -
- "EP(DebugFlag="N",UILogFlag="N")"
- Other
- words
- here
I'm not sure how to take the quotes into consideration (finding the starting and ending one). Is there an easy way to do this?
Thanks!