How do I use the useDelimiter() method of the Scanner class to use both the comma (,) and the new line character (\\n) as delimiters?
useDelimiter()
Scanner
I am
How about useDelimiter(",|\\n");
useDelimiter(",|\\n");