liquid_feedback_frontend

view env/util/trim.lua @ 1764:a959fcd8e048

Translation corrections
author bsw
date Mon Oct 18 16:00:57 2021 +0200 (2021-10-18)
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