Scripting the Trim command

 From:  Cemortan_Tudor
8786.9 
so easy to read with comments :)