I have a text file that is generated daily. It is a fixed width format with one frustrating exception. The third column (NAME) has a variable width. The column is always exactly as long as the longest name in the data set + 1 space. This makes each day's files have different column start and end points.
Does anyone have a clever way to handle importing this file on a daily basis? Changing the source program is not an option.
I am willing to modify the file before import.
I am willing to use almost any tool to include, but not limited to, SSIS, C#, PowerShell.
I am looking for the least "messy" solution with high-reliability.
Examples
A/R Patient PICASI, LINDA 00691685 90409843 Inpatient
Revenue Patient SIMPSON, RHASIRA B 00000000 00000000 Emergency