steve4king
IS-IT--Management
I need a way to modify a text file. I know there are a hundred text editors out there, but I don't know of any that can do what I need so I thought I might need to build one in C#.
The fields in the file are delimited by tabs.
I need to remove row 2 and 3, if row 5's field 7 = row 5's field 9. Then comparing, and potentially removing line 4 and 5, row 6 and 7 etc..
This would need to continue through the whole file, comparing field 7 to field 9, then removing it, and it's subsequent line. The first field's value for all even lines would be 'A', the value for odd lines would be 'I'.
I've got some experience coding c#, but I'm not really sure how to start with this one so any suggestions would be welcome.
This may not be the best forum for such a question, but this group has been so helpful in the past. So I'm gunna apologize ahead of time for that.
Thanks,
-Steve
The fields in the file are delimited by tabs.
I need to remove row 2 and 3, if row 5's field 7 = row 5's field 9. Then comparing, and potentially removing line 4 and 5, row 6 and 7 etc..
This would need to continue through the whole file, comparing field 7 to field 9, then removing it, and it's subsequent line. The first field's value for all even lines would be 'A', the value for odd lines would be 'I'.
I've got some experience coding c#, but I'm not really sure how to start with this one so any suggestions would be welcome.
This may not be the best forum for such a question, but this group has been so helpful in the past. So I'm gunna apologize ahead of time for that.
Thanks,
-Steve