Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Server Object
All Methods
All Objects
All Properties
METHOD: Server.URLEncode
Server.
URLEncode
(String)
The
URLEncode
method takes a string and converts it into a URL-encoded format. For example, you can use
URLEncode
to ensure that hyperlinks in your Active Server Pages are in the correct format.
There is one mandatory argument.
String
The
String
argument is the string to be encoded.
Code:
<% Response.Write
Server.URLEncode
("http://www.issi.net") %>
Output:
http%3A%2F%2Fwww%2Eissi%2Enet
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information