I need a following groovy program: It reads a .csv file with something like the following setup: BD01 01.05.2020 BD - Ar

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

I need a following groovy program: It reads a .csv file with something like the following setup: BD01 01.05.2020 BD - Ar

Post by answerhappygod »

I need a following groovy program: It reads a .csv file withsomething like the following
setup: BD01 01.05.2020 BD - Arbeitsfreier Tag nein nein 00:0000*00 12:00 12:00 00*00 nein 06:00 00:30 09:00 BD02 01.05.2020 BD -Arbeitsfreier Tag nein nein 00:00 00*00 00:00 00:00 00*00 nein06:00 00:30 09:00 F001 01.01.2018 Frühdienst 06:00-14:30 nein nein06:00 14:30 06:00 14:30 00*00 nein 06:00 00:30 09:00
I want a program that reads this csv file and deletes all rowswith a date before something i set in a variable.
For Example, in the file above I want to remove all rows before01.05.2022 so the last row would be deleted. The file afterwardshould contain all rows which have not been deleted.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply