View Full Version : how can i replace quotes in a string?

07-13-2004, 07:20 PM
I need to be able to replace quotes in a string i'm working with,

my code:

myString = objTS.ReadLine
myString = replace(myString, char(34), "")
myArray = Split(mystring, ",")

i know i can't use 3 quotes in a row,
and char(34) isn't working either,

using the above code i get this error:
Type mismatch: '[undefined]'

so my question is how can this be done?

thanks in advance for your time!

Roy Sinclair
07-13-2004, 10:33 PM
You need FOUR quotes to make it work.

myString = replace(myString,"""", "")