Module:Sandbox

local p = {}

function split(str, pattern) local out = {} for m in string.gmatch(str, "[^" .. pattern .. "]+") do     table.insert(out, m)    end return out end

function p.main(frame) local data = split( frame.args['1'], "," ) local result = "" for l = 1, #data do result = result .. data[l] .. "\n" end return result end

return p