ciao ,se ho per es una stringa di soli numeri :

codice:
String  str="2 3 4 56 7 8 9";

come posso convertirla in un array di numeri??