PDA

View Full Version : replace quotes (WXP-Pro)



kenton.boucher
03-12-2004, 08:55 AM
I am trying to read a file and remove all double-quotes. I have other scripts where I have to escape certain characters with a backslash before they can be found (such as \[ to find the left bracket), but that doesn't seem to work with the " character. I have also tried to escape the hex value for the " with no success.

Is this possible using WSH and if so, how?

Brf
03-12-2004, 09:00 AM
To make a quote character do:
""""

The first quote starts the string, the 2nd and 3rd represent a quote, and the 4th ends the string.

kenton.boucher
03-12-2004, 09:28 AM
I swear I tried this with no success, but I just tried it again and it worked.

Thanks.