title: How can I get an int next to a word using scanf?
body: <p>How can I extract an int contained in a string like <code>att249</code> or <code>berlin32</code> using <strong>sscanf</strong> ?</p>
  <p>I tried</p>
  <pre class="lang-ml prettyprint-override"><code>&quot;%s%d&quot; 
  </code></pre>
  <p>Which doesn't work because the <code>%s</code> scan doesn't stop on the <code>2</code></p>