Page 1 of 1

Remove first line if blank?

Posted: Tue Nov 14, 2006 4:08 pm
by fantomaster
How can I remove the first line in a text if blank only?
(In pseudo code: CHECK first line IF BLANK delete ELSE skip file)

The included filter "Remove lines" doesn't seem to include this functionality and I couldn't find anything pertinent in the forum.

Posted: Wed Nov 15, 2006 6:20 am
by DataMystic Support
Use the Restrict to Lines 1..1, and inside this, a remove blank lines filter.

Posted: Wed Nov 15, 2006 6:36 am
by fantomaster
Yes, now you put it that way it's fairly obvious, isn't it? :lol:

Thanks a lot!