I am saving information to a text file. Every time the file is saved, the current text in it is erased and replaced with what is in the text box. However, I am running into a slight problem. When I saved the text file the first time, a \ was inserted before all the quotes. This is fine, however every time I save the file after that the amount of \ doubles. I have only saved the file 10 times and it is up to over 500 of these little gremlin forward slashes all over the text file I'm trying to save to. Is there a piece of code I can insert somewhere to stop this from happening? I appreciate all help, thanks!
When you load the file for editing use the stripslashes(from this string). It may be too late to work on that file but should solve the problem for the next one.