June 25th, 2003, 09:46 AM
how to stop interpreting strings
Using VBscript, if i want to print out the line
<FONT face="Comic Sans MS">
str="<FONT face="Comic Sans MS">"
obviously the quotations are causing the problem, and i've tried adding \ infront to stop intrepretting but i gues vbscript doesn't support that, and apparently it can't do ' around the string to not interperet it, how to i print a double quotation then or even better how do i get vbscript to not interperete a certain character or string like above?
June 25th, 2003, 10:45 AM
i found out you can just do the double quotation as a cheat "" for a quotation.... but it'd be much cooler if someone would be so polite as to inform me if there's an easier way when working with strings.
June 25th, 2003, 12:40 PM
It really isn't a cheat, that is how you escape quotes in VBScript.