When the script writes to the text file it obviously uses a newline for the next row. How can I remove that newline from the string when it reads?
Code for reading: