Anonymous

Module:Shared: Difference between revisions

From Melvor Idle
m
no edit summary
No edit summary
mNo edit summary
Line 142: Line 142:
-- specialTitleCase('amulet Of Fishing') = 'Amulet of Fishing'
-- specialTitleCase('amulet Of Fishing') = 'Amulet of Fishing'
function p.specialTitleCase(sentence)
function p.specialTitleCase(sentence)
if str == nil or str:match("^%s*$") ~= nil then return nil end
if sentence == nil or sentence:match("^%s*$") ~= nil then return nil end
-- List of words that are excluded from TitleCase
-- List of words that are excluded from TitleCase
2,875

edits