title: How to epur a std::string in c++?
body: <p>I would know the best way and easiest way for epuring a std::string <strong>without</strong> using boost.</p>
  
  <p>For exemple how to transform this string</p>
  
  <pre><code>"  a   b          c  d     e '\t' f      '\t'g"
  </code></pre>
  
  <p>in</p>
  
  <pre><code>"a b c d e f g"
  </code></pre>
  
  <p>Assuming '\t' is a normal tabulation.</p>
  
  <p>Thanks.</p>