utils = {} function utils.split (str, sep) local new_table = {} for v in string.gmatch(str, "([^"..sep.."]+)") do table.insert(new_table, v) end return new_table end return utils