function splitString(str) { if (str.length == 0) return [] else return str.split(',') } export default splitString