splitByComma static method
Implementation
static String splitByComma(List<String> values, {String separator = ", "}){
String value = "";
loop(values, (data, position, isFirst, isLast){
if(!isNullOrEmpty(data)) {
value = value + (isNullOrEmpty(value) ? data : (separator + data.toString())).toString();
}
});
return value;
}