Files
fusionpbx/app/switch/resources/scripts/resources/functions/trim.lua
2023-06-24 08:32:56 -06:00

7 lines
113 B
Lua

--add the trim function
function trim(s)
if (s) then
return s:gsub("^%s+", ""):gsub("%s+$", "")
end
end