title: C++ StringTokenizer for a multichar separator
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3739280/split-on-substring">Split on substring</a>  </p>
  </blockquote>
  
  
  
  <p>I want to separate an std::string by a two character separator, i.e. I'm looking for string tokenizer that can accept separators which are NOT a single character. Boost's tokenizer allows for multiple characters to be specified as separators, but this means that it'll consider <em>any</em> individual character as a separator, whilst what I want is to say that the separator is <em>a particular sequence</em> of characters, viz. a substring. </p>
  
  <p>I'd initially thought I would quickly find the answer to this with a couple of google searches, but having just been proven wrong by a couple of wasted hours, I ask: ideas anyone?</p>