Split CSV file into multiple fixed width files based on criteria RRS feed

  • Question

  • Hello and thank you for taking a look at my question!

    I have a CSV file that I need split into 2 files based on what values are in a specific column then output each column to a defined fixed width. 

    There will be a total of 5 values in the column being evaluated, 4 of which will go into 1 file, 1 specific value will go into the other file.

    Both files will have the same fixed widths of the columns formatted with Right justification (I think its right-justified when I need the blank spaces on the left).

    I need to specify the file names as well.

    Can someone point me to a good reference on how to do this or have any chunks of code where this has already been done before?

    Thank you for looking at this!

    Monday, December 23, 2013 7:52 PM

All replies