title: Objective-C: Find numbers in string
body: <p>I have a string that contains words as well as a number.  How can I extract that number from the string?</p>
  
  <pre><code>NSString *str = @"This is my string. #1234";
  </code></pre>
  
  <p>I would like to be able to strip out 1234 as an int.  The string will have different numbers and words each time I search it.</p>
  
  <p>Ideas?</p>