字符串的逗号处理
2017-09-13 本文已影响7人
Miki_Zhang
String combName = "";
if (null != combList && 0 < combList.size()){
for (AnswerVersionComb comb : combList){
combName += "," + comb.getName();
}
if (RobotStringUtils.isNotBlank(combName)){
combName = combName.substring(1, combName.length());
}
}