Forum Moderators: open

Message Too Old, No Replies

Escape Character Listing

         

ukgimp

9:59 am on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Driving me nuts this one, but I have instances of characters that need to be escaped in ASP

For example

f.writeline("<%")
f.writeline("dim id")
f.writeline("%>")

I got to grips wirth crazy VB triple quotes and then this one comes along.

Any references on this. It seems quite think on the ground

Cheers

ukgimp

10:18 am on Jul 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps I am complicating things but this is the solution which seems like lunacy

f.writeline("" & chr(60) & "" & chr(37) & "")
f.writeline("dim id")
f.writeline("" & chr(37) & "" & chr(62) & "")