title: How would I remove blank characters from a string in JavaScript?
body: <p>How would I remove blank characters from a string in JavaScript?</p>
  
  <p>A trim is very easy, but I don't know how to remove them from <em>inside</em> the string. For example:</p>
  
  <p><code>222 334 -&gt; 222334</code></p>