WMLScript URL libarari

The URL function library contains functions for processing URLs.

WMLScript URL library functions

Function Description
escapeString() Replace 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 URL syntax 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() Use characters to replace the escape sequence in the URL.