Return to Snippet

Revision: 39748
at January 20, 2011 09:51 by heathbo


Initial Code
var textToInsert:String = "the brown fox jumped over the fence";

textToInsert = textToInsert.split("fence").join("river");




the end result is:
the brown fox jumped over the river.

Initial URL


Initial Description


Initial Title
Find and Change text in a variable or textfield

Initial Tags


Initial Language
ActionScript 3