Files
wow_Meta/api/strtrim.lua
2024-12-21 10:47:22 +01:00

7 lines
350 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param str 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).
---@overload fun(str: string, trimChars: string)
function strtrim(str, trimChars) end