WMLScript getParameters() Function
The getParameters() function returns the parameters in the last path segment of the URL.
Syntax
n = URL.getParameters(url)
Component | Description |
---|---|
n | The string returned from the function. |
url | A string. |
Example
var a = URL.getParameters("http://codew3c.com/wml;tip"); var b = URL.getParameters("http://codew3c.com/wml");
Result
a = "tip" b = ""