I am receiving orders from a web-site as a text file of fixed-width format
The data sections are padded out with spaces (denoted as dots in example) and appear on single lines of hundreds of characters in length.
Only about three lines altogether seperated by CR.
The widths are precisley defined in the specs
I hope to produce a class that extracts the data into associtive arrays for import into MySQL,
so I imagine extensive use of string and/or array functions.
Has anybody worked with with this format that may have functions to help me start or advice on pitfalls to avoid?
Thanks in advance
Code:
THYNMD........08000000......00000022.....000011
Only about three lines altogether seperated by CR.
The widths are precisley defined in the specs
Code:
Field From To Length Name1 500 539 40 Name2 540 579 40
so I imagine extensive use of string and/or array functions.
Has anybody worked with with this format that may have functions to help me start or advice on pitfalls to avoid?
Thanks in advance
Comment