Java Program : Split an Array into two array via them types : How can I Write a program to input a string (consist of symbol and number)
into an array, the program then should store number into array1,
and symbol into array2.


for example I want to split this Array [Im 18 years old & 22 days ] then our out put should be Array1[Im,years,old,days] 
Array2 [18,&,22]

thanks for your helps in advance !! 

 

