Jump to content

Recommended Posts

Posted (edited)

Finding and deleting the line is not a problem, but the blank space left behind is. I really don't want to bother with writing to a second file, deleting and renaming the file. So is it possible to go through and remove the blank line like you do when looking for an actual string? Prefer, but not a must, to not bother with an array for this.

#include <File.au3>

$find = "Test Line"
$replace = ""
$filename = "C:\Test.txt"
_ReplaceStringInFile($filename,$find,$replace)
Edited by Champak
  • 16 years later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...