liquid_feedback_frontend

annotate env/util/trim.lua @ 149:d87097d3b6ec

small hint to show the number of alternative initiatives
author Daniel Poelzleithner <poelzi@poelzi.org>
date Fri Oct 08 03:25:59 2010 +0200 (2010-10-08)
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