摘要:
commons.lang3.StringUtilsStringUtils.join(Object array[],String separator)将数组以符号或其他字符串为间隔组成新的字符串Object array[] 需要转换的数组。separator组成新串的间隔符号,如 "," "|"1 private static final String[] str = {"1","2","3","4"};2 String str2 = StringUtils.join(str, 阅读全文