摘要:
/*---------------------------切分数组------------------------------*/ //从字符串分割到数组- componentsSeparatedByString: NSString *string = [NSString alloc] initWithString:@"One,Two,Three,Four"]; NSLog(@"string:%@",string); NSArray *array = [string componentsSeparatedByString:@","];
阅读全文