Skip to content

Instantly share code, notes, and snippets.

@michaelbiggs
Last active December 15, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelbiggs/5264009 to your computer and use it in GitHub Desktop.
Save michaelbiggs/5264009 to your computer and use it in GitHub Desktop.
Run a case insensitive search for a NSString within a NSString
if ( [<NSString *stringToSearchThrough> rangeOfString: <NSString *stringToSearchFor>
options: NSCaseInsensitiveSearch].location != NSNotFound )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment