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
URL.getHost
URL.getPort
URL.getPath
URL.getParameters
URL.getQuery
URL.getFragment
FUNCTION: URL.getScheme
URL.getScheme
(url)
The
URL.getScheme
function returns the scheme portion of the given absolute or relative URL. If the URL does not contain a scheme portion, an empty string is returned. An invalid URL syntax will cause an
invalid
to be returned.
The syntax of a URL is:
scheme://host:port/path;parameters$query#scheme
You can use the following functions to get the various portions of the URL:
Portion
Function
scheme
getScheme(url)
host
getHost(url)
port
getPort(url)
path
getPath(url)
parameters
getParameters(url)
query
getQuery(url)
scheme
getScheme(url)
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information