Sign in to follow this  
Followers 0
Tentaal

Remove blank lines

4 posts in this topic

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 !

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

You could replace it with FileMove...

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0