In Obj-C indexOf function of NSString

Total Post:17

Points:119
 1000  View(s)
Ratings:
Rate this:
Can any one who tell me, is Obj-C has anything similar to indexOf function of NSString objects?
  1. Post:214

    Points:1642
    Re: In Obj-C indexOf function of NSString

    Yes, Obj-C has another method here is the method:

    Use -[NSString rangeOfString:]:
    - (NSRange)rangeOfString:(NSString *) string;

     

Answer