Initial commit
This commit is contained in:
7
api/strtrim.lua
Normal file
7
api/strtrim.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param str string
|
||||
---@param trimChars string
|
||||
---@return string text
|
||||
---Trims leading and trailing characters (whitespace by default) from a string. Also available as string.trim (though not provided by the Lua standard library).
|
||||
function strtrim(str, trimChars) end
|
||||
Reference in New Issue
Block a user