I want to search a specific string in the array of strings in objective c. Can somebody help me in this regard?
BOOL isTheObjectThere = [myArray containsObject: @"my string"];
or if you need to know where it is
NSUInteger indexOfTheObject = [myArray indexOfObject: @"my string"];
I strongly recommend you read the documentation on NSArray. It's best to do that before posting your question :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With