How to find the index of the searched string in the given string.

Discussion in 'iOS Programming' started by thangiavel, Sep 5, 2011.

  1. thangiavel macrumors newbie

    Joined:
    Sep 5, 2011
    #1
    My string is this....
    NSString *str = @"Quick Brown Fox Jumps Over The Lazy Dog";

    How can i Find the starting position (at which character it starts) of word Lazy in the string and print it out ?..please help me anyone.....
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State

Share This Page