words -package:hedgehog package:rio

words breaks a string up into a list of words, which were delimited by white space.
>>> words "Lorem ipsum\ndolor"
["Lorem","ipsum","dolor"]
O(n) Breaks a Text up into a list of words, delimited by Chars representing white space.
unwords is an inverse operation to words. It joins words with separating spaces.
>>> unwords ["Lorem", "ipsum", "dolor"]
"Lorem ipsum dolor"
O(n) Joins words using single space characters.