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
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
1998 - 2014 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors