NSString *string = @"how to check if a string contains another string";
if ([string rangeOfString:@"how"].location == NSNotFound)
{
NSLog(@"Not found");
}
else
{
NSLog(@"Found");
}
if ([string rangeOfString:@"how"].location == NSNotFound)
{
NSLog(@"Not found");
}
else
{
NSLog(@"Found");
}
The analytic company Delphi Digital calls bitcoin (BTC) the king of asset classes because of the performance of this coin. Delphi Digital...
0 nhận xét:
Đăng nhận xét