title: c++ implementation of string split
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/2727749/c-split-string">C++ split string</a><br>
    <a href="https://stackoverflow.com/questions/53849/how-do-i-tokenize-a-string-in-c">How do I tokenize a string in C++?</a>  </p>
  </blockquote>
  
  
  
  <p>I'd like to parse a single line of text, which consist of several words separated by blanks.
  so I need to know the C++ way of split a string by a certain separator. an example line is like below:</p>
  
  <pre><code>aa bb  cc    dd
  </code></pre>
  
  <p>which means one ore more than one blanks are used as separator in each line of the configuration file. so could any of you can provide some working code to solve my problem?
  thanks in advance.</p>