title: c# - Extract first integer from a string
body: <p>Given the following 2 string, how can I get the first integer that occurs from each one <em>without using regex</em>:</p>
  
  <pre><code>"Result Set 25: 171 companies"  =&gt;  get 25
  "Other Text 22 : 140 companies"  =&gt;  get 22
  </code></pre>