any idea how to ignore a < or > in a VBS string ie:
strEx = "<10 days"
response.write(strEx)
Thanks
any idea how to ignore a < or > in a VBS string ie:
strEx = "<10 days"
response.write(strEx)
Thanks
You should try thing instead:-
Response.Write(Server.HTMLEncode(strEx))
This will correctly escape characters that have meaning to HTML.
By ignore, do you mean remove? If so try this:
strEx = replace("<10 days", "<", "")
Or if you'd like to write your string on to a webpage, you can encode the <
to have it outputted correctly:
strEx = replace("<10 days", "<", "<")