I've been googling for a while and I can't really find any help with my issue and I'm starting to get frustrated.
Add to the program a call to the Scanner's useDelimiter("...") method so that the tokens returned are all characters between any number of blanks.I have to use the useDelimiter to get certain stuff from the file I am reading as you can see.
Change the String parameter to the useDelimiter method so that the tokens are all characters between the word Scanner.
Change the String parameter to the useDelimiter method so that the tokens are all characters between any number of digits.
Change the String parameter to the useDelimiter method so that the tokens are
any number of digits.
Change the String parameter to the useDelimiter method so that the tokens are any number of letters (upper and lower case).
Change the String parameter to the useDelimiter method so that the tokens are any number of letters (upper and lower case).For this one, I know what to do as the professor has given us an example:
Expand|Select|Wrap|Line Numbers
- readFile.useDelimiter("[^a-zA-Z]+");
[^0-9]+ ? Because it doesn't work. I don't know the syntax to use (regex?) and I would like to help on this because I can't figure it out.
Thanks