objective C判断一个字符串 是否包含另外一个字符串
+(BOOL)stringContentString:(NSString *)motherString subString:(NSString *)sonString{ if ([motherString rangeOfString:sonString].location!=NSNotFound) { return YES; }else { return NO; } }
objective C判断一个字符串 是否包含另外一个字符串
+(BOOL)stringContentString:(NSString *)motherString subString:(NSString *)sonString{ if ([motherString rangeOfString:sonString].location!=NSNotFound) { return YES; }else { return NO; } }