title: How to compare two case insensitive strings?
body: <p>i have 2 string objects containing same string but case is different,now i wanna compare them ignoring the case sensitivity,how to do that??here is the code...</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  void main()  
  {  
      NSString *myString1 = @"mphasis";  
      NSString *myString2 = @"MPHASIS";
      if ([myString1 caseInsenstiveCompare:myString2])  
      {  
          NSLog (@"ITS EQUAL");  
      }  
      else  
      {   
          NSLog (@"ITS NOT EQUAL");  
      }  
  }  
  </code></pre>