Removes consecutive whitespace characters in a string and replaces them with a single space.
The string to be processed.
strNoConsecutiveWhitespace('Hello World');//=> 'Hello World' Copy
strNoConsecutiveWhitespace('Hello World');//=> 'Hello World'
Generated using TypeDoc
Removes consecutive whitespace characters in a string and replaces them with a single space.