urldecode(X)

Converts raw URI, URL, or HTTP messages with hex-encoded values into human-readable strings.

Syntax

urldecode(X)

Input

Argument Type Description
X text The string on which to apply the function. This argument is required.

A scalar value or the name of a column

Return Value

Returns a text value corresponding to the encoded string X translated into a human-readable string.

Example

The following example decodes a raw, hex-encoded message into a human-readable string.

<table cols="shortmsg">
"%7B%22method%22%3A%22interact%22%2C%22parameters%22%7D"
</table>
<willbe name="decoded_shortmsg" value="urldecode(shortmsg)"/>