+ 3
How can I skip empty rows when reading a csv file using Scanner in java?
It seems to me that the problem is with the delimiter. When I print out my lines the empty lines are printed like this: ,,,,
4 Answers
+ 6
You haven't provided any code snippets. So we can't see what you're doing.
But maybe this will help you đ
https://stackoverflow.com/questions/31578362/skip-empty-row-in-csv-file-using-java
+ 5
Then can you please attach your code snippet using the code-playground of sololearn?
+ 1
Yah my bad, I'm new on this app . I actually tried those solutions that you've sent the link to. But they didn't work for my code. Thanks anyways
+ 1
Actually i found a way to solve it. But I don't know if it's efficient. Please take a look
https://code.sololearn.com/c8Pv4LYvu2yT/?ref=app