How can I get a substring between predefined strings. For example:
NSString* sentence = @"Here is my sentence. I am looking for {start}this{end} word";
NSString* start = @"{start}";
NSString* end = @"{end}";
NSString* myWord = [do some stuff with:sentence and:start and:end];
NSLog(@"myWord - %@",myWord);
Log: myWord - this
rangeOfStringfunction.