NSRange firstRange = [fullString rangeOfString:@"lookFor"];
//log the firstRange.location and firstRange.length and see whats that..
NSString *newStr = [[fullString substringFromIndex:startposition] substringToIndex:endposition];
want to see more.. click here
//log the firstRange.location and firstRange.length and see whats that..
NSString *newStr = [[fullString substringFromIndex:startposition] substringToIndex:endposition];
want to see more.. click here
No comments:
Post a Comment