DecodeBase16 (open)

Decodes a hexadecimal string.

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION DecodeBase16(STRING text)

Parameters

STRING text

String to decode

Return value

STRING

The decoded string

Description

DecodeBase16 will decode a Base-16 encoded string string to its original value

Examples

// returns 'Hello, World'
STRING example1 := DecodeBase16("48656C6C6F2C20576F726C64");

// returns "123"
STRING example2 := DecodeBase16("313233");