liquid_feedback_frontend

annotate env/util/trim.lua @ 35:cfc2b9aeca91

Bugfix in app/main/initiative/show_static.lua: Replaced incorrect usage of gsub with localization function
author bsw
date Tue Mar 02 12:17:34 2010 +0100 (2010-03-02)
parents 0ee1e0c42d4c
children de8602f8d9bb
rev   line source
bsw/jbe@6 1 function util.trim(string)
bsw@9 2 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
bsw/jbe@6 3 end

Impressum / About Us