wordFront and wordBack get the word at the beginning or end of given string, respectively.
A word is a streak of consecutive characters — non-whitespace, either all alphanumeric or all not — followed by any number of whitespace.
Text to scan for the word.
If true, whitespace will not be included in the word.
See Implementation
wordFront and wordBack get the word at the beginning or end of given string, respectively.
A word is a streak of consecutive characters — non-whitespace, either all alphanumeric or all not — followed by any number of whitespace.