How can read line in file that line have recordor examplethe file:
date new_cases new_deaths
2020-07-30 665 10
2020-07-31 590 9
2020-08-01 - 0
2020-08-02 - -
2020-06-04 738 8
2020-06-05 779 -
2020-06-06 770 5
4 line it is not record new_cases or new_deaths so wae ignore the line also line 5 but line 6 we read because it has record>
after read this file the reasult is:
2020-07-30 665 10
2020-07-31 590 9
2020-06-04 738 8
2020-06-06 770 5
How can read read this line by java????
z.smart
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
z.smart
commented:
Please could you explain me how i can do that?!
+0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.