liquid_feedback_frontend

view env/util/trim.lua @ 1063:187127e290f9

Style updates for suggestions and inline help for phases
author bsw
date Wed Jul 16 21:53:12 2014 +0200 (2014-07-16)
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