Challenge 1 Solution with Example


#1

NSString *example = (@"Objective-C is fun!"); NSRange myRange = [example rangeOfString:@"-C" options:NSCaseInsensitiveSearch]; NSLog(@"%@", [example substringWithRange:myRange]);