Hey all,
I’m stuck on the second part of the first challenge.
I was able to find the method to use for a case-insensitive search under rangeOfString:options:, but I’m not sure how to go about it to return ‘the actual portion of the string that was found’.
Compared to substringToIndex: and substringFromIndex: methods, substringWithRange:(NSRange)range gives you finer control over the substring which you want to extract. For example, you can extract a fully embedded substring.