I have a file which is variable in file length. I need to add a Comma or something to fill each line for a set length of 79. Any one have an idea how to do this? Thanks in advance.
Example
01,071000505,071000505,030404,0736,434,,,2/
03,5800378290,USD,010,000,,,015,000,,,040,000,,,
03,2350547,USD,010,2500000,,,015,2500000,,,040,2500000,,,
03,2349656,USD,010,000,,,015,000,,,040,000,,,045,000,,,,
Would be
01,071000505,071000505,030404,0736,434,,,2/,,,,,,,,,,,,,,,,
03,5800378290,USD,010,000,,,015,000,,,040,000,,,,,,,,,,,,,,
03,2350547,USD,010,2500000,,,015,2500000,,,040,2500000,,,03
2349656,USD,010,000,,,015,000,,,040,000,,,045,000,,,,,,,,,,
Example
01,071000505,071000505,030404,0736,434,,,2/
03,5800378290,USD,010,000,,,015,000,,,040,000,,,
03,2350547,USD,010,2500000,,,015,2500000,,,040,2500000,,,
03,2349656,USD,010,000,,,015,000,,,040,000,,,045,000,,,,
Would be
01,071000505,071000505,030404,0736,434,,,2/,,,,,,,,,,,,,,,,
03,5800378290,USD,010,000,,,015,000,,,040,000,,,,,,,,,,,,,,
03,2350547,USD,010,2500000,,,015,2500000,,,040,2500000,,,03
2349656,USD,010,000,,,015,000,,,040,000,,,045,000,,,,,,,,,,