mioarray=_root.testoinserito.split("");
for(i=0;i<mioarray.length;i++){
lettera=mioarray[i];
//qui i controlli che vuoi fare
}