1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00
Rampant/libs/StringUtils.lua

14 lines
245 B
Lua
Raw Normal View History

2019-02-16 06:17:30 +02:00
if stringUtilsG then
return stringUtilsG
end
2018-01-14 09:07:29 +02:00
local stringUtils = {}
local sSub = string.sub
2018-01-14 09:07:29 +02:00
function stringUtils.isRampantSetting(str)
return sSub(str, 1, #"rampant--") == "rampant--"
2018-01-14 09:07:29 +02:00
end
2019-02-16 06:17:30 +02:00
stringUtilsG = stringUtils
2018-01-14 09:07:29 +02:00
return stringUtils