I know that new line is classically made by "\n".
I want to make a string with lines of data and then export it into a file:
outString = StringJoin["First Line \nSecond Line"]
Put[outString, NotebookDirectory[] <> "testOut.txt"]
The first line, make a decent output in the Mathematica itself:
"First Line
Second Line"
But in the testOut.txt file , it is :
"First Line \nSecond Line"
Note that it even includes the quotation marks and both in the same line ! What is the solution for that ?