When I get my strings from a .txt file and put them in a list '\n' always seems to be popping up at the end, is there any way i can remove these?
Asked
Active
Viewed 27 times
0
-
3Possible duplicate of [Remove the newline character in a list read from a file](https://stackoverflow.com/questions/4319236/remove-the-newline-character-in-a-list-read-from-a-file), or [Reading a file without newlines](https://stackoverflow.com/questions/12330522/reading-a-file-without-newlines) – chickity china chinese chicken Oct 17 '18 at 18:33
-
without code its hard to tell - but the dupe sounds plausible – Patrick Artner Oct 17 '18 at 19:10