IN OBJ-C INDEXOF FUNCTION OF NSSTRING

Derek Honeybun

Total Post:17

Points:119
Posted by  Derek Honeybun
 711  View(s)
Ratings:
Rate this:
Can any one who tell me, is Obj-C has anything similar to indexOf function of NSString objects?
  1. Tarun Kumar

    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!