title: c++: Split string by delimiter
body: <p>For example I have this string: <code>hello:there:world</code></p>
  
  <p>How do I split these three words to string array,
  I mean the final result will be this:</p>
  
  <pre><code>arr[0] = "hello";
  arr[1] = "there";
  arr[2] = "world";
  </code></pre>
  
  <p>Thanks in advance.</p>