liquid_feedback_frontend

view env/util/trim.lua @ 1308:7ea154c9238a

Added libbsd-dev and postgresql server-dev package to list of necessary packages to be installed for compiling/running on Debian
author jbe
date Thu Jun 23 03:30:57 2016 +0200 (2016-06-23)
parents de8602f8d9bb
children
line source
1 function util.trim(string)
2 if string == nil then
3 return string
4 end
5 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
6 end

Impressum / About Us