title: The easiest way for extracting float number from string in c++
body: <p>What would be the easiest way to extract the number from this string using c++??</p>
  
  <pre><code>string = "frame0.2_eyepos.bmp" 
  </code></pre>
  
  <p>The substrings frame and _eyepos.bmp are supposed to stay the same while the numeric value between them should change...</p>