Module:Shared: Difference between revisions

From Melvor Idle
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 sentence == nil then return nil end
-- List of words that are excluded from TitleCase
-- List of words that are excluded from TitleCase
     local excludedWords = {
     local excludedWords = {