title: Position of a Substring in NSString
body: <p>How I can get the position/Index of a substring within an <code>NSString</code>?</p>
  
  <p>I am finding the location in the following way.</p>
  
  <pre><code>NSRange range = [string rangeOfString:searchKeyword];
  NSLog (@"match found at index:%u", range.location);
  </code></pre>
  
  <p>This returns <code>index:2147483647</code>  when <code>searchKeyword</code> is a substring within <code>string</code>.</p>
  
  <p>How i can get the index value like <code>20</code> or <code>5</code> like that?</p>