title: Removing whitespaces inside a string
body: <p>I have a string  <code>lots\t of\nwhitespace\r\n</code>  which I have simplified but I still need to get rid of the other spaces in the string.</p>
  
  <pre><code>QString str = "  lots\t of\nwhitespace\r\n ";
  str = str.simplified();
  </code></pre>
  
  <p>I can do this <code>erase_all(str, " ");</code> in boost but I want to remain in qt.</p>