if a specific character is N, pull this line from the original and include it in a new .txt with "-N" added to it's name.....does this make sense?
Is the problem filtering the line itself? We'd need to see the line and know which part needs to be an N.
I can't include an actual line from my extract because it includes personal information (and I need to be considerate of privacy issues), but I've copied the line and replaced all characters with "ABCs" and "123s." I've included 2 lines as examples (one with an N in the 195 character space and one without). Also note, each line is 529 characters long...
ABCDEFGH-ABC,ABC ABCDE ABC AB1-A123-12 A1234567 ABCD1 12345678 1234 1 12 A1234567 A12345678 A12345678 ABCD 1234N12 ABCDEFGHIJKLM 123456 ABCDEF,ABCDEFGHI 12345 1 ABC ABCD ABCDEFGHI ABCDE ABCD-ABCD ABCDEF12345678 123456ABC1234 1234A1234567 1234 12ABC1234 1234A1234567 1234 1 12345678@12:34 A
ABCDEFGH-ABC,ABC ABCDE ABC AB1-A123-12 A1234567 ABCD1 12345678 1234 1 12 A1234567 A12345678 A12345678 ABCD 1234 12 ABCDEFGHIJKLM 123456 ABCDEF,ABCDEFGHI 12345 1 ABC ABCD ABCDEFGHI ABCDE ABCD-ABCD ABCDEF12345678 123456ABC1234 1234A1234567 1234 12ABC1234 1234A1234567 1234 1 12345678@12:34 A