Suppose I have an array String[] which has 47 characters in each element. The format of the strings is as the following:
"My name is Fouad *6,#%$ , 67655-76 " // 30 characters for the name (It may contains special charaters) & ", " & 15 charaters for the phone-number
and I want to split each element into two parts: name (with removing the spaces after it not the spaces in between) & number (also with removing the spaces after it not the spaces in between)
so I can have two arrays String[]: name[] & number[]
How can I do such algorithm ?