Menu

Can'not delete empty strings in text file!

2006-10-09
2012-11-13
  • Nobody/Anonymous

    How I can find empty strings and delete their?

     
    • pshute

      pshute - 2007-01-11

      If you mean blank lines, they can be deleted with Plugins/TextFX Edit/Delete Blank Lines.  For some reason it won't delete an initial blank line.  You could also use search and replace.  That can be tricky due to some restrictions on what will work.  Have a look at http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php if you want to try doing it that way.

       
    • Nobody/Anonymous

      Err. An empty string is nothing, it has no content and as such cannot be "deleted."  If you create a 0 byte text file it contains an empty string - there is nothing to delete.

      What do you mean exactly? I may be misunderstanding what you're getting at.