Getting index of a character in NSString with offset & using substring in Objective- C ...
stackoverflow.com