ok so the format of the file is:
I am using just "data" as the filler since the file has PHI in it, and I don't want to paste that out here. There is an LF at the end of the lines, in the file. Pipe delimited csv file.
I am reading the file in, to get the output, and then writing it with the value:
The above should at least change the line feeds to CrLf's, like it does for the text file from my original post, but it does not.
I tried changing the pipes of the value to comma's in hopes that then I could specify to replace the pipes, but that did not work.