How can I write a program to input a string (consisting of symbols and numbers) into an array? The program then should store numbers into Array1, and symbols into Array2.
For example I want to input a String like: Im 18 years old & 22 days to an array like [Im 18 years old & 22 days] and then convert it to two arrays:
[Im,years,old,days] and [18,&,22]
 
     
    