FUNCTION:  URL.getFragment

URL.getFragment(url)
 
The URL.getFragment function returns the fragment portion of the given absolute or relative URL. If the URL does not contain a fragment portion, the 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#fragment
 
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)
fragment getFragment(url)


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information