str_words

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.

Parameters

Returns

See Also

str_split, str_lines