Can any one who tell me, is Obj-C has anything similar to indexOf function of NSString objects?
Yes, Obj-C has another method here is the method: