标签:style color os io line rgb
1、判断字符串是否包含某个字符
if( [str rangeOfString:@"hello"].location != NSNotFound) {
NSLog(@"yes");
} else {
NSLog(@"no");
}
ios 字符串,布布扣,bubuko.com
ios 字符串
原文地址:http://blog.csdn.net/alincexiaohao/article/details/36898435