I don't understand the question. The 2 characters you're referring to are
carriage-return and line-feed characters, the standard Windows newline
character combination. Beyond that, I don't know what you mean by "not in a
fixed position," "substring it out," or "lines up."
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Hard work is a medication for which
there is no placebo.
"Frank" <fa*****@verizon.net> wrote in message
news:%2***************@TK2MSFTNGP04.phx.gbl...
Hello,
I have a fixed length text file that I want to import using c#.
I want to read each line and break it apart.
The problem is when I read a line, the data is not in a fixed position, so
I cannot substring it out.
The line ends with hex 0d 0a
If I open the file in Wordpad, it looks ok, all data lines up.
How can I resolve this?
Thanks
Frank