Parsing unevenly spaced columns from text in PHP
Published by Nicholas Dunbar on August 23rd, 2014
If you want to parse unevenly or jaggedly spaced columns out of a text file in PHP, below are two functions that will help you do it.
Let's say that you have the following text output:
col1 col2 col3
==== ==== ==== ...