W3Schools

home HOME

WMLScript Tutorial
WMLScript HOME
WMLScript Intro
WMLScript How to

WML Libraries
WML Dialogs
WML Float
WML Lang
WML String
WML URL
WML Browser

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

WMLScript URL Library

previous next

The URL library contains functions for handling URLs.


WMLScript URL Library Functions

Function Description
escapeString() Replaces special characters in a URL with an escape sequence
getBase()  
getFragment()

Returns the fragment in a URL

getHost() Returns the host specified in a URL
getParameters() Returns the parameters in the last path segment of a URL
getPath() Returns the path specified in a URL
getPort() Returns the port number specified in a URL
getQuery() Returns the query part in a URL
getReferer()  
getScheme() Returns the scheme in a URL
isValid() Returns true if a URL has the right syntax, and false if not
loadString() Returns the content and the content type of a specified URL
resolve() Returns an absolute URL from a base URL and a relative URL
unescapeString() Replaces the escape sequences in a URL with characters


previous next


Learn XML with Stylus Studio XML Editor – Free Download

Stylus Studio provides tools for editing and debugging XML, XSLT, XML Schema, DTD, XQuery, Web Services,and more!

Using Stylus Studio XML Tools You Can:

See why millions use Stylus Studio as their preferred XML tool. Download a FREE TRIAL or watch an online VIDEO DEMO today!




Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2008 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999