Dear Junky
I think you have to read posts more carefully before abuse at smb. hurl


text = textInput.getText();

String array[]=text.split(" ");
int counter=0;
...