How would I remove blank characters from a string in JavaScript?
A trim is very easy, but I don\'t know how to remove them from inside the string. For example:<
You can also do this without a regular expression or a replace-
var string= string.split(' ').join('');