liquid_feedback_frontend

view env/util/trim.lua @ 1661:fa9e93235e02

Updated systemd scripts in installation instructions
author bsw
date Sun Feb 14 15:22:57 2021 +0100 (2021-02-14)
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