title: How to remove leading zeros from string using C++?
body: <p>I want to remove leading zeroes from string like <code>"0000000057"</code>.</p>
  
  <p>I did like this but didn't get any result:</p>
  
  <pre><code>string AccProcPeriNum = strCustData.substr(pos, 13);
  
  string p48Z03 = AccProcPeriNum.substr(3, 10);
  </code></pre>
  
  <p>I want output only <strong>57</strong>.</p>
  
  <p>Any idea in C++?</p>