Convert fields from text files to CSV
Posted: Thu Feb 07, 2013 6:51 am
Hi
I need to process text files created by an automation process.
The text files have a fixed format, and I need to convert sections of each file into fields in a CSV file.
Where each text file will be a new line in the CSV file.
E.g. [row 6 : 0 to 12], [row 6 : 14 to 20], [row 10 : 14 to 20], etc.
I'd also like to trim any whitespace around any of the resulting fields before inserting into CSV file.
I looked at the docs and samples but could not find a way or wizard to extract fixed location fields into a CSV file.
Any advice?
P.
I need to process text files created by an automation process.
The text files have a fixed format, and I need to convert sections of each file into fields in a CSV file.
Where each text file will be a new line in the CSV file.
E.g. [row 6 : 0 to 12], [row 6 : 14 to 20], [row 10 : 14 to 20], etc.
I'd also like to trim any whitespace around any of the resulting fields before inserting into CSV file.
I looked at the docs and samples but could not find a way or wizard to extract fixed location fields into a CSV file.
Any advice?
P.