I need to replace some characters in a string. For example:
var str:String = 'Hello World!';
And I need to change all characters in this string using some table of comparison that is an array. In PHP I would use the strtr()
method for this purpose. But I couldn't find its analog in AS3.
So, please help! How can I do this in AS3. Thanks in advance.