Revision: 13975
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 14, 2009 10:11 by sidneydekoning
Initial Code
// pvalue has whitespace var whitespace:RegExp = /(\t|\n|\s{2,})/g; var trimmedValue:String = pValue.replace(whitespace, ""); trace(pValue, trimmedValue);
Initial URL
Initial Description
Initial Title
Strip Whitespace with RegExp in AS3
Initial Tags
Initial Language
ActionScript 3