title: Extracting 2 numbers from a 1 to 4 digit number
body: <p>Here is what I need to do:</p>
  
  <p>I am given an int that is from 0 to 9999.</p>
  
  <p>What I need to do is imagine that this int is 0 padded to 4 digits:</p>
  
  <pre><code>4 -&gt; 0004
  675 -&gt; 0675
  etc
  </code></pre>
  
  <p>I need to then extract the first 2 digits into an int and the last 2 into an int:</p>
  
  <pre><code>4 -&gt; (0,4)
  675 -&gt; (6,75)
  8976 -&gt; (89,76)
  </code></pre>
  
  <p>I'm just not sure how to go about doing this in obj-C.</p>
  
  <p>Thanks</p>