title: how to extract a number from string in c++
body: <p>I have a string,</p>
  
  <blockquote>
    <p>"This is my id 4321."</p>
  </blockquote>
  
  <p>Now how to extract only number part "4321" from the whole string using c++.
  Thank you.</p>