There are 3 methods to substring a NSString.
NSLog([@"1234567890" substringFromIndex:4]); NSLog([@"1234567890" substringToIndex:6]); NSLog([@"1234567890" substringWithRange:NSMakeRange(3, 5)]);
There are 3 methods to substring a NSString.
NSLog([@"1234567890" substringFromIndex:4]); NSLog([@"1234567890" substringToIndex:6]); NSLog([@"1234567890" substringWithRange:NSMakeRange(3, 5)]);