Tim's BandwagonHitch your wagon to a chickenActionScript trim function- July 23, 2007 ActionScript 2.0 doesn&8217;t have a trim function to strip whitespace from the start and end of a string. Here&8217;s a simple function I wrote because I couldn&8217;t find a satisfactory example on Google! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 function trim&40;str:String&41;:String &123; var stripCharCodes = &123; code_9 : true, tab ...http://www.twisty.com/bandwagon/archives/2007/07/23/162642 |