/ Published in: ActionScript 3

All credit for this goes to iheartactionscript.com
I'm just copying it here so I won't have to remember where I found it
I'm just copying it here so I won't have to remember where I found it
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var theContent:String = “I hate when content has words like, ‘damn’ in it†theContent = theContent.split(“damnâ€).join(“darnâ€); trace(theContent); // outputs: I hate when content has words like, ‘darn’ in it
Comments
