Delete specific line


I would like to delete a specific line into my SD Card file. I use the "SD" library. I already search on "Google" and I find this:

There is only one solution to do this ?


The thread that you linked to offered a number of solutions. Which one you choose, or another one, may depend on how many files and lines are involved. the contents of the file and how frequently that you want to do it. For instance you could copy all but the line to be deleted to another file, delete (or rename) the source file and rename the target file but that may not be appropriate, or even possible, depending on the circumstances.