When I read a simple text file it reads each line but appears to add a character return for all expect the last line(which has no return). This causes issues processing the output in next steps as the value isn`t as expected. For example:
Text file created in notepad++ on windows 11.
I`ve noticed that when I select text in notepad++ it highlights a space at the end of each line except the last. Pic:
As you're on Windows, I'm guessing you're going with the standard Notepad++ & Windows setting: NewLine there is CR LF (2 characters,\r\n) - as stated in the footer line of NP++:
The FileIn-Node splits the incoming stream yet Linux/Unix-like @ \n:
What you see could be the leftover \r portion of the Windows-like NewLine sequence.
Possible solution: Change the format of the file created by NP++ to UNIX (LF) ... by e.g. right-clicking on the field in the footer & appropriate selection ... or propose a PR to extend the capabilities of the FileIn-Node, allowing to select the LineSplit character sequence.