How would I remove blank characters from a string in JavaScript?

Viewed 55282

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:

222 334 -> 222334

3 Answers
Related