title: How to extract part of a string in c++
body: <p>To Extract part of a string in a given line:</p>
  
  <p>Given line is:</p>
  
  <pre><code>D:\AB554P_Itr23\ModelDir\AB554P_approximation_NodeData.dat Read 3/18/2010
  </code></pre>
  
  <p>I need to extract only the file name <code>AB554P_approximation_NodeData.dat</code>. I am using CodeGear RAD Studio C++ Builder. Thanks:)</p>