WMLScript URL Library

The URL function library contains functions for processing URLs.

WMLScript URL Library Functions

Function Description
escapeString() Replace the special characters in the URL with escape sequences.
getBase()  
getFragment() Returns the fragment in the URL.
getHost() Returns the hostname specified in the URL.
getParameters() Returns the parameters in the last path segment of the URL.
getPath() Returns the path specified in the URL.
getPort() Returns the port specified in the URL.
getQuery() Returns the query part in the URL.
getReferer()  
getScheme() Returns the scheme in the URL.
isValid() Returns true if the syntax of the URL is correct, otherwise returns false.
loadString() Returns the content and content type of the specified URL.
resolve() Returns an absolute URL based on a base URL and a relative URL.
unescapeString() Replace the escape sequence in the URL with characters.