Module:Capitalize

local p ={}

function p.main(words) if words then words = words:gsub("(%a)(%a+)", function(a, b) return string.upper(a) .. string.lower(b) end) return words end end

return p