Author | Message |
---|---|
knagrec2
Posts: 51
|
Posted 15:20 Oct 31, 2018 |
Every time I take in the info for a person, and then jump to the next line for the phone numbers, I clear out the remaining "end of line barrier" using the in.nextLine() command (in is a scanner object). However, when I then use in.next(), or in.nextLine() for the next line available, nothing is found. Is there another way to jump to the next line in a CSV? |
knagrec2
Posts: 51
|
Posted 15:42 Oct 31, 2018 |
I solved it by just using nextLine() and splitting it by the, instead of using .next() with the comma delimiter on scanner. |