Module:Listify

local p = {}

function p.input ( frame ) delimiter = frame.args[1] text = frame.args[2] strings = mw.text.split(text, delimiter, plain) local output = {}

for k,v in pairs(strings) do       output[k] = '' .. mw.text.trim(v) .. '' end

return '' .. table.concat(output) .. '' end

return p