I have a NSMutableArray which contains a few NSString objects. How can I test if the array contains a particular string literal?
NSMutableArray
NSString
I tried
for every object
[(NSString *) [array objectAtIndex:i] isEqualToString:@"teststring"];