mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
7 lines
113 B
Lua
7 lines
113 B
Lua
|
|
--add the trim function
|
|
function trim(s)
|
|
if (s) then
|
|
return s:gsub("^%s+", ""):gsub("%s+$", "")
|
|
end
|
|
end |