file line remove

Allows you to remove a line from within a file.


Example

Running this code will remove the line that contains "a" in the file "C:\Users\user\Desktop\Test Folder\TEST.csv".

This is the the file content before running the code.

This is the the file content after running the code, having the first line with "a" removed.

plugin command("Data and Files Automation.dll", "file line remove", "C:\\Users\\user\\Desktop\\Test Folder\\TEST.csv", "a", "Contains")

Was this helpful?

Previous Article

file line insert

Next Article

file manager