• 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
no edit summary
Line 98: Line 98:  
     s = tostring(s) or ""
 
     s = tostring(s) or ""
 
     return #s < n and string.rep(c, n - #s) .. s or s
 
     return #s < n and string.rep(c, n - #s) .. s or s
 +
end
 +
 +
function Utils.trim(s)
 +
    return string.gsub(s, "^%s*(.-)%s*$", "%1")
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu