Module:UtilsString

local p = {}

function p.CapitalizeFirstLetter(str) return (str:gsub("^%l", string.upper)) end

function p.endsWith(pattern, str) return str.match(str, pattern, #str - #pattern +1) == pattern end

return p