7 lines
329 B
Lua
7 lines
329 B
Lua
---@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 |