2,875
edits
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 | 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 |
edits