How to compare a mathing string location?
<p><code>NSString *str0 = @"stackoverflow";</code></p>

<p><code>NSString *str1 = @"stackovarflow"*</code></p>

<p><code>NSString *str2 = @"stackoverflowing"*</code></p>

<p>I want str0 and str1 and so on compared equal to location.</p>

<p>str0 isEqualToLocation:str1 result is 5(start Index 0) or 6(start Index 1)</p>

<p>str1 isEqualToLocation:str2 result is 12(start Index 0) or 13(start Index 1)</p>

<p>if not equalToString return is -1</p>

<p>how to know matching a string location?</p>
