title: How to check string contains characters?
body: <p>How to check a string contains a particular character or word.
  In my case I have a string "<strong>red manual</strong>". Here I have to check for <strong>"red ma"</strong> in my string.
  I tried it by using range of string methods but its not satisfying the condition.</p>
  
  <p>Here is my code        </p>
  
  <pre><code> NSString *string = @"red manual";
   NSRange newlineRange = [string rangeOfString:@"red ma"];
   if(newlineRange.location != NSNotFound) 
   {
       NSLog(@"found");
   }
   else
   {
       NSLog(@"not found");
   }
  </code></pre>