Module:Sandbox/Evad37/Enumerate arguments

local e = {}

function e.enumArgs(args, base) local i = 1 local enum = {} while true do if args[base .. tostring(i)] ~= nil and args[base .. tostring(i)] ~= "" then enum[base][i] = args[base .. tostring(i)] i = i + 1 else break end end end

return e