For example need this text to write a file:
This is some simple text "it's quote", test test
I use writeFile :: FilePath -> String -> IO () to write file, but when i try to write this string in the file, in file i see:
This is some simple text \"it\'s quote\", test test
How can i remove \ symbols, i need in only ” without \ in my text file.
Thank you.
Quoting is added to
Stringtypes via theshowfunction. If you just write the string directly, it will not be escaped.