How would I split a string upon one or more spaces in between, preserving the effect of having more than one space.
e.g. when the input string is:
s = "a bc de fg ";
spl = s.split(" ");
gives me the array
{a, bc, de, fg}.
how do I get the same array to 1-or-more spaces in between, like
s = "a bc de fg ";
TIA.