Files
wow_Meta/api/strtrim.lua
2025-05-04 14:35:26 +02:00

8 lines
349 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