//从Mystring中提取某个子字符串的位置
NSInteger indexSubstring = (unsigned long)[Mystring rangeOfString:@"ext"].location;
NSString * stringCallInfo= [callInfo substringWithRange:NSMakeRange(indexSubstring , 10)];
NSLog(@"%@",stringCallInfo);```
//从Mystring中提取某个子字符串的位置
NSInteger indexSubstring = (unsigned long)[Mystring rangeOfString:@"ext"].location;
NSString * stringCallInfo= [callInfo substringWithRange:NSMakeRange(indexSubstring , 10)];
NSLog(@"%@",stringCallInfo);```
本文标题:无标题文章
本文链接:https://www.haomeiwen.com/subject/ggivpttx.html
网友评论