I have a variable which contains a string, I don't know what the string might be but it could contain special characters.
I'd like to output that into a text file "as is". So if there is for example a string "my string " I want the text file to show exactly that and not interpret the as a line feed / new line.