服务器返回某个带有分隔符的字符串,例如: NSString *str = @“1.2.3.4”其中字符‘.’就是分隔符 NSArray *arr = [str componentsSeparatedByString:@"."]; 切割后返回一个数组