Use this function to strip whitespace and any character from a string in JavaScript. strip whitespace javascript, white space, function, free, strip character