Hoppa till huvudinnehållet

ReadFile - Unable to split resulting text file into separate lines

Kommentarer

1 kommentar

  • Tom Neer
    Tami - Do you know the source OS of the data? Every OS uses a slightly different newline characters. '\r" vs "\n" vs "\r\n". The Environment.NewLine, assumming Windows OS, will be "\r\n" (e.g. CRLF) and it is probably only seeing a \r or \n but not \r\n, thus the wrapping. I would open your source file with something like Notepad++ and turn on all characters to inspect exactly how this file is being written to determine the newline characters being used first.
    0

Du måste logga in om du vill lämna en kommentar.