判断字符串包涵
2016-12-03 本文已影响13人
码农淏
//判断roadTitleLab.text 是否含有qingjoin if([roadTitleLab.text rangeOfString:@"qingjoin"].location !=NSNotFound)//_roaldSearchText { NSLog(@"yes"); } else { NSLog(@"no"); }
//判断roadTitleLab.text 是否含有qingjoin if([roadTitleLab.text rangeOfString:@"qingjoin"].location !=NSNotFound)//_roaldSearchText { NSLog(@"yes"); } else { NSLog(@"no"); }