ios 串
1、是推斷包括字符串
? ? ? ??if( [str rangeOfString:@"hello"].location != NSNotFound) {
?? ? ? ? ? ?
? ? ? ? ? ? NSLog(@"yes");
?? ? ? ? ? ?
? ? ? ? } else {
?? ? ? ? ? ?
? ? ? ? ? ? NSLog(@"no");
? ? ? ? }
版權聲明:本文博客原創文章。博客,未經同意,不得轉載。
轉載于:https://www.cnblogs.com/bhlsheji/p/4655375.html
總結
- 上一篇: 王者荣耀金牌辅助怎么获得(如何玩好《王者
- 下一篇: 3.Dashboard的使用