/* * 数组转string,加分隔符 */ public static String listJoinToString(String split,Object[] strAry){ StringBuffer sb=new StringBuffer(); for(int i=0;i<strAry.length;i++){ if(i==(strAry.length-1)){ sb.append(strAry[i]); }else{ sb.append(strAry[i]).append(split); } } return new String(sb); }