NSRange NSMakeRange范围获取
范围获取字符串
NSRange r;
r.location = 4;
r.lenght = 2;
NSString *sub3 = [myString substringWithRange:r];
// 也可以写成
NSString *sub3 = [msString substringWithRanger:NSMakeRange(4,2)];
NSLog(@"%@", sub3);