NSString *string = @"abavavasdsvx,as.dsf/,.[abcdefghijklmn]dgdfg"; NSRange start = [string rangeOfString:@"["]; NSLog(@"sub=%@",sub); |
|
來自: LoveSeasonLee > 《語法》