l'hai scritto più o meno tu: codice: var vettore=stringa.split('-'); ciao
var vettore=stringa.split('-');
Regole del Forum