Challenge: finding more NSString methods

The rangeOfString: method is case-sensitive. Return to the NSString class reference and find the method that you would use if you needed to do a case-insensitive search.

Then find the NSString method that will return the actual portion of the string that was found.

Get Objective-C Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.