title: getting the position of character in NSString
body: <p>I am trying to get the position of Characters in NSString using the rangeOfString method.
  For example if I have the word "BEER" I am looking to get the positions of the letter E in the string so I should get position 1 and 2
  rangeOfString only gives me the first occurrence of the letter</p>
  
  <pre><code>NSRange range = [word rangeOfString:letter];
  
  NSLog(@"Word is %@ Range is %d" , word, range.location);
  </code></pre>
  
  <p>So i only get location 1</p>
  
  <p>is there another method I can use or do I have to use NSScanner for this?</p>