objective c - Compare strings in array with another string -


i know how compare string array, i.e., if array list has {"abc", "pqr", "xyz"} , new string lets "mno" typed, should compare previous array list. how can this? in advance.

look @ nsarray documentation...

bool hasstring = [your_array containsobject:your_string]; 

Comments