1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-18 02:58:32 +02:00
Rampant/libs/StringUtils.lua

14 lines
245 B
Lua
Raw Normal View History

2019-02-15 20:17:30 -08:00
if stringUtilsG then
return stringUtilsG
end
2018-01-13 23:07:29 -08:00
local stringUtils = {}
local sSub = string.sub
2018-01-13 23:07:29 -08:00
function stringUtils.isRampantSetting(str)
return sSub(str, 1, #"rampant--") == "rampant--"
2018-01-13 23:07:29 -08:00
end
2019-02-15 20:17:30 -08:00
stringUtilsG = stringUtils
2018-01-13 23:07:29 -08:00
return stringUtils