I think that the answer is that you have a (one or more) "\r"s (0x13) in your file. So, it prints part of the file, return the (ancient term warning)carriage control cursor to the left, and then prints over what it has already printed.
Try running tr[\r][]d; on it before you print it out.
In reply to Re: string gets front truncated
by BrowserUk
in thread string gets front truncated
by hsfrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |