Java 定义字符串数组
String[] qyidArr = null; //定义数组
String psid2 = ""; //定义字符串
psid2 +=","+item.getId(); //往字符串里放值用“,”隔开
if(psid2.length() > 0){ //判断如果字符串不为空,转换成字符串数组
qyidArr = psid2.substring(1,psid2.length()).split(",");
}