Question
1
Replies
22
Views
Posted: September 23, 2019
Last activity: September 23, 2019
Need help on File.WriteAllLine
I need to delete first and last row of txt file and I assume it can be done using WriteAllLines, can some help me with sample automation?
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
WriteAllLines won't delete the lines. First you have to read the file with readalllines and delete the first and last line.