• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 73: Line 73:     
function NodeInfo:upcase(str)
 
function NodeInfo:upcase(str)
     return str:gsub("(%l)(%w*)", function(a, b) return string.upper(a) .. b end)
+
     str = str:gsub("(%s)(%l)", function(a, b) return a .. string.upper(b) end)
 +
    str = str:gsub("^(%l)", function(a) return string.upper(a) end)
 +
    return str
 
end
 
end
  
48

edits

Navigation menu