liquid_feedback_frontend

view env/util/trim.lua @ 1005:03ce8ee42382

Fixed german translation of term Member menu
author bsw
date Wed Jul 24 23:10:27 2013 +0200 (2013-07-24)
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