Jump to content

Recommended Posts

Posted

Hello,

Is there a function to remove all blank lines in a text file?

I was trying this but it does not work :

$ReplacedString = _ReplaceStringInFile($filename,"",CHR(008))

:-)

Thanks !

Posted

Well, here you delete the file and recreate it without blank line. It's a solution, but what if I dont want to delete the file?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...