Version: 21th July 2014, 21:33 (GMT+1); added math.trim