Admission of guilt:

I don't get regular expressions.  Never have, never will.  I'm missing
that gene.

But, from what I can tell, reg exp seem to be the ONLY way to do a
simple replace within in a string.  What's the deal?!?

So, I'm struggling with the String.Replace() method in AS3.

Does anyone have a simple replace function along the lines of:

public static function
Replace(source:String,valueToMatch:String,valueToReplace:String):String {
//
}

Or, is there a similar function hidden somewhere within the AS3 code?

Marty

Reply via email to