in reply to Space inserted into output file

Welcome to the Monastery, He77e!

I applaud you for formatting your post properly and asking a good question. However, it is difficult for us to test this without any sample input data, a sample of output you're currently getting, and expected output.

Please provide a small block of each of these within your question (using the edit link). Each section should go in a separate <code></code> block like you've done with your code.

Cheers,

-stevieb

Replies are listed 'Best First'.
Re^2: Space inserted into output file
by He77e (Initiate) on Jul 22, 2017 at 17:31 UTC

    Thanks for the feedback, much appreciated!

    I will have a go with the altered code tomorrow and get back to you.

    He77e

Re^2: Space inserted into output file
by He77e (Initiate) on Jul 23, 2017 at 17:45 UTC

    Cheers mate, works perfectly!

    He77e