Proceed to WirelessDevNet Home Page
Publications, e-books, and more! Community Tutorials Store Downloads, tools, & Freebies! IT Career Center News Home
newnav.gif

Newsletters
EMail Address:



   Content
  - Articles
  - Columns
  - Training
  - Library
  - Glossary
 
   Career Center
  - Career Center Home
  - View Jobs
  - Post A Job
  - Resumes/CVs
  - Resource Center
 
   Marketplace
  - Marketplace Home
  - Software Products
  - Wireless Market Data
  - Technical Books
 
   News
  - Daily News
  - Submit News
  - Events Calendar
  - Unsubscribe
  - Delivery Options
 
   Community
  - Discussion Boards
  - Mailing List
  - Mailing List Archives
 
   About Us
  - About WirelessDevNet
  - Wireless Source Disks
  - Partners
  - About MindSites Group
  - Advertising Information
 
WMLScript Reference WMLScript Reference

WMLScript > URL > getParameters()

getParameters() - The getParameters Function

Usage:  
getParameters(url)
Description:  Returns the parameters used in the last path segment of the given url. If no parameters are specified an empty string is returned. Both absolute and relative URLs are supported. Relative URLs are not resolved into absolute URLs.

NOTE: This version of this function does not take into account the possibility for each segment to have parameters (see [RFC2396] for more information). Only the parameters specified for the last segment are returned. This may chnage in the future.


Example:
a = URL.getParameters("http://www.wirelessdevnet.com/script;3;2?x=1&y=3");
// a = "3;2"
b = URL.getParameters("../script;3;2?x=1&y=3");
// b = "3;2"
c = URL.getParameters("http://w.a.p/a;x/b;y=1/c;fg");
// c = "fg"
d = URL.getParameters("http://w.a.p/a;x/b;y=1/c");
// d = ""




Bookmark this page
Sponsors

Search

Eliminate irrelevant hits with our industry-specific search engine!









Wireless Developer Network - A MindSites Group Trade Community
Copyright© 2000-2010 MindSites Group / Privacy Policy
Send Comments to:
feedback@wirelessdevnet.com