liquid_feedback_frontend

view env/util/trim.lua @ 148:034f96181e59

gui part for autosupport

autosupport lets you automaticly support any new draft of an initiative
author Daniel Poelzleithner <poelzi@poelzi.org>
date Fri Oct 08 02:49:53 2010 +0200 (2010-10-08)
parents 0ee1e0c42d4c
children de8602f8d9bb
line source
1 function util.trim(string)
2 return (string:gsub("^%s*", ""):gsub("%s*$", ""):gsub("%s+", " "))
3 end

Impressum / About Us