How? I’ve googled to death and the only stuff i see is ‘text filters’ as in it filters the text with blur filters and such. but if i want to replace certain characters, then what?
edit
Nevermind i was searching the wrong stuff
var message:String = “My %s lives with %s in a %s.”;
var params:Array = [ “cat”, “me”, “house” ]
var i:int = -1;
var n:int = params.length;
var pattern:RegExp;
while ( ++ i < n )
{
pattern = new RegExp( “%s”, “s” );
message = message.replace( pattern, params[ i ] );
}