liquid_feedback_frontend

annotate env/util/trim.lua @ 170:da885b2dda29

remove author_id from suggestion until private api is done
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sat Oct 09 22:13:32 2010 +0200 (2010-10-09)
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