Files
fusionpbx/resources/install/scripts/resources/functions/trim.lua
2013-06-09 02:42:36 +00:00

7 lines
113 B
Lua

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