Hello everyone, I’m currently working on a script where the user enters 1st sentence then press enter or return and then enter 2nd sentence and I want to save it to a .txt file. (input field multiline newline option)
ie:
sentence 1
sentence 2
So far, I am able to do that but when I check the .txt file it is showing up as:
sentence 1
sentence 2
I want the text to be saved as:
sentence 1 /n sentence 2
since when I retrieve the data from the .txt file, I obtain it by lines.
When I hit enter in the inputfield, it creates a new line on the .txt file as well causing disruptions in the line contents, so I wanted the input field string to be saved in 1 line in the .txt file instead of 2 lines.
Alternatives are also welcome!
Thank you