Files
wow_Meta/api/strtrim.lua
2024-12-16 13:13:08 +01:00

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