I have following array and search string.
NSArray *values =[NSArray arrayWithObjects:@"abc",@"xyz",@"cba",@"yzx",nil];
NSString *search = @"startcba";
I want to search string's end part within an array elements. My expected search result will be @"cba". Please let me know how to find the desire value in array for giving search.
Thanks,
[myArray indexOfObject:myString].