URLEncode and HTMLEncode
URLEncode applies URL encoding rules, including escape characters, to a specified string:
<%Response.Write(Server.URLEncode("http://www.psacake.com/web/"))%>
Returns:
http%3A%2F%2Fwww%2Epsacake%2Ecom%2Fweb%2F
HTMLEncode converts special characters to their HTML syntax for ASCII characters:
<%=Server.HTMLEncode("The Paragraph Tag: <P>")%>
Returns:
The Paragraph Tag: <P>
My3C's
perrychicker
Back | Tell A Friend | Search this Site
© 1998 - 2013 psacake.com
Version 3.23
Send me One Million FREE Guaranteed Visitors