2019-02-16 06:17:30 +02:00
|
|
|
if stringUtilsG then
|
|
|
|
return stringUtilsG
|
|
|
|
end
|
2018-01-14 09:07:29 +02:00
|
|
|
local stringUtils = {}
|
|
|
|
|
2019-02-13 07:50:25 +02:00
|
|
|
local sFind = string.find
|
2018-01-14 09:07:29 +02:00
|
|
|
|
2019-02-13 07:50:25 +02:00
|
|
|
function stringUtils.isRampant(str)
|
|
|
|
return sFind(str, "rampant", -#"rampant")
|
2018-01-14 09:07:29 +02:00
|
|
|
end
|
|
|
|
|
2019-02-13 07:50:25 +02:00
|
|
|
function stringUtils.isSpawnerEgg(str)
|
|
|
|
return sFind(str, "spawner", -#"spawner")
|
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
|