DecodeURL (open)

Converts hexadecimal encodings to special characters.

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION DecodeURL(STRING text)

Parameters

STRING text

String to decode

Return value

STRING

The decoded string

Description

DecodeURL converts URL encoded strings back to stings with special characters.

Examples

// returns "this url will be decoded"
STRING example1 := DecodeURL("this%20url%20will%20be%20decoded");

// returns "The_rain. In Spain, Ma'am"
STRING example2 := DecodeURL("The_rain.%20In%20Spain%2C%20Ma%92am");