removeWhitespace
Returns a string with whitespaces removed.
- Use
String.prototype.replace()
with a regular expression to replace all occurrences of whitespace characters with an empty string.
Returns a string with whitespaces removed.
String.prototype.replace()
with a regular expression to replace all occurrences of whitespace characters with an empty string.