I've got a script parsing a webpage and am using the VBScript function Replace()to modify a few things. I know the syntax is:
Webpage = Replace(Webpage,"Replace This","With This")
But what do you do when the thing you are trying to replace has quotes in it? Such as replacing <hspace="23"> with <hspace"7">. I've tried double quoting but the " in what I'm searching for or trying to replace generates an error. How do you handle this?
Webpage = Replace(Webpage,"Replace This","With This")
But what do you do when the thing you are trying to replace has quotes in it? Such as replacing <hspace="23"> with <hspace"7">. I've tried double quoting but the " in what I'm searching for or trying to replace generates an error. How do you handle this?
Comment