How do I get position of character in NSString?
ios
Solution
To get the location of a substring in a string :
[@"Asia/Tokyo" rangeOfString:@"/"].location
Problem
I have this NSString ``` Asia/Tokyo ``` I want to get only "Tokyo" by removing "Asia/" I know it will get to work by searching for the position of "/" but how do i do that? pls help