Initial commit
This commit is contained in:
9
StringHelpers.lua
Normal file
9
StringHelpers.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
Str = {}
|
||||
|
||||
function Str.toLower(s) return string.lower(s or "") end
|
||||
function Str.nullOrEmpty(s) return not s or s == "" end
|
||||
|
||||
function Str.split(s, delimiter, max)
|
||||
---@diagnostic disable-next-line: undefined-field
|
||||
return string.split(delimiter, s, max)
|
||||
end
|
||||
Reference in New Issue
Block a user