DecodeURLComponent
DecodeURLComponent Function
| Method Prototype | Description
|
| Function DecodeURLComponent(encodedPart As String) As String | decode part of a URL
|
This function undoes the encoding of a component of a URL (for example, a GET parameter). If you're manually pulling a URL apart into pieces or interpreting GET parameter values, call DecodeURLComponent on each part to get the original data.
For example, if a parameter value or URL path component is "1%2F2", you would pass this through DecodeURLComponent to convert this back into the intended fraction, "1/2" (since "%2F" is the hexadecimal representation of the slash character).
See
EncodeURLComponent to convert in the other direction.