Split string into words
Splits on whitespace, collapsing consecutive spaces. Accepts ShellResult. Note: words splits on spaces and tabs only, not newlines. For line-by-line processing use str_lines() first, then str_words() on each line.
String): | ShellResult