From ProventusNova DeveloperWiki
(Create Module:ArrayHandler) |
(No difference)
|
Latest revision as of 14:24, 31 March 2025
local p = {}
function p.split(frame)
local input = frame.args[1] or "" local delimiter = frame.args[2] or "," local result = {} for word in string.gmatch(input, '([^' .. delimiter .. ']+)') do table.insert(result, word) end return table.concat(result, "\n")
end
return p