The options:NSCaseInsensitiveSearch is crashing my app when I have it in the following. Does anyone know why this might be?
NSString* string3 = [[[[tvQ.text stringByReplacingOccurrencesOfString:@"\n"
withString:@" " options:NSCaseInsensitiveSearch range:wholeString]
stringByReplacingOccurrencesOfString:@"&" withString:@"and"]
stringByReplacingOccurrencesOfString:@"ç" withString:@"c"]
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];
Error from X-Code: error: 'wholeString' not defined