title: How to search in multiple string in array in ios?
body: <p>I want to search for string entered by user to check in multiple strings.
  I have tried using OR, but its not working.</p>
  
  <pre><code>- (void)filterContentForSearchText:(NSString*)searchText scope:(NSString*)scope
  {
  
  NSPredicate *resultPredicate = [NSPredicate predicateWithFormat: @"address contains[c] %@ || approved contains[c] %@ || businessName contains[c] %@ || city contains[c] %@ || country contains[c] %@ || dealerNo contains[c] %@ || dealerId contains[c] %@ || email contains[c] %@ || fax contains[c] %@ || phone contains[c] %@ || published contains[c] %@ || regionNum contains[c] %@ || state contains[c] %@ || website contains[c] %@ || zip contains[c] %@ || businessName contains[c] %@ || businessName contains[c] %@ || businessName contains[c] %@", searchText];
  
      //Here address, approved, businessName.... all these string, I want to search in.
  
      searchResults = [cellData filteredArrayUsingPredicate:resultPredicate];
  
     //cellData is my total array
     //searchResults is array after filtering 
  }
  </code></pre>
  
  <p>Thanks in advance.</p>