normalizeSpace
Removes excess leading or trailing white space.
If there are multiple spaces between words, they are reduced to one space. Any white space non-blank characters are removed.
Arguments
Input string.
Examples
Expression | Result |
---|---|
normalizeSpace(" Hello World! ") | "Hello World!" |