Search and Delete a specific record from a CSV file
807589Jan 13 2009 — edited Jan 13 2009Hi All,
I am new to java . I want to search for the records from CSV file and delete the row form the file.
Below is my Sample .csv
100||a100||1b100
200||b200||dc300
200||bg430||ef850
400||f344||ce888
Now I need some help in below requirements.
1.How to delete a record having value 200 and b200?
2.If record already exists how to update the existing record with new values?
Please share your ideas or give me some code snippet..
Thanks in Advance