Page 1 of 1

Removing "\"s from a string.

Posted: Wed Mar 18, 2009 4:35 pm
by braveryonions
I have built a program to store/manage a list of characters in a book (for school). The user enters information about a character, and the information is displayed on the page in a text box. This is so that the data can be altered easily. Whenever the user presses "Apply Changes", any alterations that have been made are saved for next time.

My problem is that if someone uses an apostrophe, it displays a "\" before it. Each time they press "Apply Changes" the number of "\"s grows exponentially. This is very annoying. Is there a function that keeps this from happening? If not, how can I fix this?

Re: Removing "\"s from a string.

Posted: Wed Mar 18, 2009 4:39 pm
by mmoussa

Re: Removing "\"s from a string.

Posted: Wed Mar 18, 2009 4:47 pm
by braveryonions
Thanks!