decodeParameter (XSPUrl - JavaScript™)
Decodes a parameter.
Defined in
XSPUrl (JavaScript)Syntax
decodeParameter(param:string) : string
Parameters | Description |
---|---|
param |
A string encoded in application/w-www-form-urlencoded format. |
enc |
The name of the encoding scheme. |
Return value | Description |
---|---|
string |
The decoded parameter. |
Usage
The encoding determines what characters are represented by consecutive sequences of the form%xy
.