#1
  1. No Profile Picture
    Average Intelligence
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2003
    Location
    Ohio/Chicago
    Posts
    678
    Rep Power
    12

    how to stop interpreting strings


    Using VBscript, if i want to print out the line

    <FONT face="Comic Sans MS">

    i do
    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?
  2. #2
  3. No Profile Picture
    Average Intelligence
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2003
    Location
    Ohio/Chicago
    Posts
    678
    Rep Power
    12
    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.
  4. #3
  5. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    It really isn't a cheat, that is how you escape quotes in VBScript.

IMN logo majestic logo threadwatch logo seochat tools logo