Pass variable to VBScript that might contain Quotation Marks
I've been trying to get part working for some time, and any input would be helpful.
I have a VBScript that cleanse my variable of non-printable data and then assigns it to a new variable to be written to my DB.
The issue I have is when the variable being passed contains a " in it. Now, I can open up notepad, paste the text, remove the ", copy the text, then pass the data to my script, but that would greatly slow my task down. Is there any way to "force" my variable to the script, even if it contains 1 or more Quotation Marks?
|