Hello there
I have a small question.
I've been looking on the web for it but didn';t come down with an answer.
As far as i've read we can get user input from the console via Scanner
Scanner asdf = new Scanner(System.in);
What if we wanted to analyze this asdf ?
Practially i want to tokenize it.
1) Find out how many words does it have
2) Search into the word nr2 like it was an array { If asdf[2] = "AND" ]
Any help ?
thanks in adnvance