//resultArray中的每个元素都是一个键值对,我们只需要将数组的每个元素用&符号拼接即可
NSString *resultString = [resultArray componentsJoinedByString:@"&"];
//字符串包含某字符
[self.phone rangeOfString:@"|"].location !=NSNotFound //包含
//通过特定字符将字符串切割成数组 componentsSeparatedByString
NSString *a = [[NSString alloc] initWithString : @"冬瓜,西瓜,火龙果,大头,小狗" ];
NSArray *b = [a componentsSeparatedByString:@","];
NSString *a3 = [b objectAtIndex:2];
NSLog(@"\n b的第三个东东是: %@", a3);