I want to split a string and keep text within quotes so I can properly parse arguments at a command line. However, Regex and Linq are not supported on COSMOS.
I need some way to split a string like the following:
This is "a very" important string "doing string things"
Into an array with the following contents:
{"This", "is", "a very", "important", "string", "doing string things"}
The closest I could find that could fix my problem is this answer. However, I can't figure out how to convert this to an array because I don't know how to use IEnumerals.