Testing if NSMutableArray contains a string object

Posted by tech74 on Stack Overflow See other posts from Stack Overflow or by tech74
Published on 2010-04-23T10:18:55Z Indexed on 2010/04/23 10:23 UTC
Read the original article Hit count: 152

Filed under:

Hi,

I have a NSMutableArray with a few NSString objects in , how can i test if it contains a particular string literal

i tried [array containsObject:@"teststring"] but it doesn't work.

Thanks

© Stack Overflow or respective owner

Related posts about iphone