String defaultFollowGroup=“ddd;fff;gggg”;
String[] arrayStr = defaultFollowGroup.split(";") ;
final List title = java.util.Arrays.asList(arrayStr);// 字符数组转list
public static String listToString(List list, char separator) {
if(list != null && list.size() > 0){
StringBuilder str = new StringBuilder();
for (int i = 0; i < list.size(); i++) {
str.append(list.get(i)).append(separator);
}
str.deleteCharAt(str.length()-1);
return str.toString();
}
return null;
}