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.
Remove first line if blank?
Moderators: DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2230
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Use the Restrict to Lines 1..1, and inside this, a remove blank lines filter.
Regards,
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
-
- Posts: 2
- Joined: Tue Nov 14, 2006 3:52 pm