title: Removing a null character from a string in javascript
body: <p>How can you remove null bytes from a string in nodejs?</p>
  
  <pre><code>MyString\u0000\u0000\u00000
  </code></pre>
  
  <p>I tried <code>string.replace('\0', '');</code> but it doesn't seem to work. Is there any node package that is good for maniputing strings?</p>