codice:
myString = "faòlkjasòd=>****<=djhaklsjhflk";
posiz = myString.indexOf("****");
// controllo se stringa presente
if (posiz != -1) {
	// se presente
	newString = myString.substring(0, posiz) + "
" + myString.substring(posiz+4, myString.length);
}
trace ("stringa="+newString);