The URLEncode method applies URL encoding rules, including escape characters, to a specified string.
Syntax
Server.URLEncode( string )
Parameters
Example
The following script:
<%= Server.URLEncode("The paragraph tag: <P>") %>
produces the output:
The+paragraph+tag%3A+%3CP%3E
Applies To
See Also