Revision: 19620
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 27, 2009 12:32 by petrafull
Initial Code
function trimslashes(raw:String):String { var str = new String(raw); var myPattern:RegExp = /\\'/g; str = str.replace(myPattern, "'") myPattern = /\\\\/g; str = str.replace(myPattern, "\\") return str; }
Initial URL
Initial Description
Initial Title
Actionscript 3 version of the php stripslashes function
Initial Tags
replace
Initial Language
ActionScript 3