"abc def"
"abcd efgh"
If I have a large string with a space that separates two substrings of varying length, what's the best way to extract each of the substrings from the larger string?
Because this is a string rather than an array, array syntax s[0]
will only retrieve the first letter of the string ('a'), rather than the first substring.