title: C++ return array of strings from a function
body: <p>I am working on a simple CSV parser.</p>
  
  <p>From my csv file I get first row as a string, let's say:</p>
  
  <pre><code>"117;'Tom';'Sawyer';";
  </code></pre>
  
  <p>What I want to achieve is a function that breaks my string into pieces, similar to PHP's explode:</p>
  
  <pre><code>$string = "117;'Tom';'Sawyer';";
  $row = explode(";", $string);
  echo $row[0];
  </code></pre>
  
  <p>I need a function that would return an array of strings in the row variable.</p>
  
  <p>I am new to C++ so I am unsure what to look for or use.</p>