This commit is contained in:
2025-03-13 16:28:23 +01:00
parent 468a68c3e7
commit 62e991cc66
23 changed files with 172 additions and 81 deletions

View File

@@ -1,7 +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).
---@overload fun(str: string, trimChars: string)
function strtrim(str, trimChars) end