1,124
edits
Line 54: | Line 54: | ||
local words = mw.text.split(text, '%s') | local words = mw.text.split(text, '%s') | ||
for k, v in ipairs(words) do | for k, v in ipairs(words) do | ||
words[k] = v: | words[k] = v:sub(1,1):upper() .. (v:sub(2) or '') | ||
end | end | ||