trace(("Flash").replace(/(.{2}).(.*)/, "$1e$2"));// Flesh Perhaps not the answer, I know ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Paul Steven wrote:
Probably something really simple but can't for the life of me recall the syntax to change a particular character of a string. For example if I have the word "Flash" and want to change the letter "a" to an "e", I was hoping there was a function like setCharAt(2, "e"); Btw I am coding in AS3. Thanks paul
_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

