Module:Utils
Documentation for this module may be created at Module:Utils/doc
local p = {}
function p.concat(t)
local str = ""
if t ~= nil then
for k, v in ipairs(t) do
str = str .. v .. ", "
end
str = str:sub(1, -3)
end
return str
end
function p.length(t)
local str = 0
if t ~= nil then
for k, v in pairs(t) do
str = str + 1
end
end
return str
end
return p