Functions:whitespace
From Dwoo Docs
(Redirected from Functions:strip)
Replaces all white-space characters with the given string
whitespace(string $value, [ string $with = ' '])
- value : the text to process
- with : the replacement string, note that any number of consecutive white-space characters will be replaced by a single replacement string
Example:
{"a b c d\ne"|whitespace}
Output:
a b c d e




