Grazie standard.
Dove può essere l'errore in quest'altra funzione? (sep è definito esternamente)
codice:
String.prototype.msplit = function(){
	var text=this;
	for(i=0;i<arguments.length;i++) text.replace(new RegExp(arguments[i]),sep);
	return text.split(sep);
}