| || |
delete a line in a csv file
how to delete a specific line in a CSV file through the testpartner script.
thanks & regards
Re: delete a line in a csv file
It depends. What is the situation in which you need to do this?
Read the file until the line that should be removed and write it in another file (tmp file).
Skip the line you want to delete.
Continue reading and simultaneously writing it to the tmp file.