bsw/jbe@6: function util.trim(string) bsw/jbe@6: return (string:gsub("^%s*", ""):gsub("%s*$", "")) bsw/jbe@6: end