标签:
NSString *urlStr = [NSStringstringWithFormat:@"%@", url]; NSRange range = [urlStr rangeOfString:@"Contact-Customer-Service"]; if (range.location != NSNotFound) { // 包含 Contact-Customer-Service } else { // 不包含 }
标签:
原文地址:http://www.cnblogs.com/10-19-92/p/5581205.html