I'd use TAB delimited or even simpler CSV to also eliminate all the intermediate spaces.
Ideally, you'd rather have tab positions like the origin of the word "tab" for word pressing was, not as equally spaced out tab lengths for all tabs, but tab positions for 2nd, 3rd, etc column, it's obviously simplest with spaces, as that doesn't require the correct tab length, but you could also have a proprietary own format with tab positions in a header line and then replace tabs with the necessary amount of spaces on the fly in time for display or printing/reporting. That means it's of no use for a normal text editor or straight forward monospace font generic text printing, but it'd not be impossible to create such a text file viewer based on a form with editbox and conversion of the file content to editbox value.
If your goal is small file sizes compression will help, too, of course.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.