Skip to main content

URL datatype

The related URL data type is a subdomain over strings and represent valid URLs. A collection of operators are provided to extract portions for futher manipulation.

  Description
  getAnchor(theUrl url) returns string
  getBasename(theUrl url) returns string
  getContent(theUrl url) returns string
  getContext(theUrl url) returns string
  getDomain(theUrl url) returns string
  getExtension(theUrl url) returns string
  getFile(theUrl url) returns string
  getHost(theUrl url) returns string
  getPort(theUrl url) returns string
  getProtocol(theUrl url) returns string
  getQuery(theUrl url) returns string
  getUser(theUrl url) returns string
  getRobotURL(theUrl url) returns string
  isaURL(theUrl string) returns string
  newurl(protocol string, hostname string, "port" int, file string) returns url
  newurl(protocol string, hostname string, file string) returns url