The related URL data type is a subdomain over strings and represent valid Uniform Resource Locators.
Example: CREATE TABLE URL_example (c1 URL, c2 URL(512) NOT NULL);
A collection of functions are provided to create, validate and extract portions.
Description | |
---|---|
sys.getAnchor(theUrl url) returns string | |
sys.getBasename(theUrl url) returns string | |
sys.getContent(theUrl url) returns string | |
sys.getContext(theUrl url) returns string | |
sys.getDomain(theUrl url) returns string | |
sys.getExtension(theUrl url) returns string | |
sys.getFile(theUrl url) returns string | |
sys.getHost(theUrl url) returns string | |
sys.getPort(theUrl url) returns string | |
sys.getProtocol(theUrl url) returns string | |
sys.getQuery(theUrl url) returns string | |
sys.getUser(theUrl url) returns string | |
sys.getRobotURL(theUrl url) returns string | |
sys.isaURL(theUrl string) returns boolean | |
sys.newurl(protocol string, hostname string, "port" int, file string) returns url | |
sys.newurl(protocol string, hostname string, file string) returns url |