Darksbane
12-14-2002, 03:03 PM
Situation: I have a list of choices in select boxes for my users which allows them to write out a text file of what they chose. This text file can then be processed and used by another program with which I am not involved.
The problem: Any choice I have which has a ' in it automatically has an escape character inserted into it when I append it to the text string to be downloaded. This causes the other program to not be able to recognize the data (in it's representation of the data it is seeing something\'s instead of something's).
Is there any way I can prevent the \ from being saved? I am sure it happens when I append the info to the text string but I don't know of a way to prevent this.
Any help is appreciated
The problem: Any choice I have which has a ' in it automatically has an escape character inserted into it when I append it to the text string to be downloaded. This causes the other program to not be able to recognize the data (in it's representation of the data it is seeing something\'s instead of something's).
Is there any way I can prevent the \ from being saved? I am sure it happens when I append the info to the text string but I don't know of a way to prevent this.
Any help is appreciated