Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for July 2007

Tim's Bandwagon

Hitch your wagon to a chicken

ActionScript 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
Available Archives
- January (2 items)
- April (1 item)
- May (1 item)
- July (1 item)
- August (1 item)
- November (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact