Hi
How to detect blank lines when read txt file and remove that?
Are you aware of the file size limits that can be handled?
For blank lines it depends on what you mean.
Search for \r\n\r\n and replace with \r\n,
or search for \n\n and replace with \n,
(do from start multiple time until occurrences ends)
depending on how is written the file.