syntax:functions:hexdecode
Table of Contents
HexDecode(encoding, hex_text)
Category: Web function
Description
This function converts the provided hex string into a text value. The text is assumed to have the specified encoding.
Arguments
Argument | Type | Description |
---|---|---|
encoding | Text | The method that was used to create the encoded text. See the table below. |
hex_text | Text | The text string to be decoded. |
Return value type: Text.
Encoding | Notes |
---|---|
base64 | |
base64url | Base64 in URL encoding |
utf-8 | |
utf-16 |
Examples
hexdecode('base64url', '56616c68616c6c61') //Returns 'VmFsaGFsbGE'
hexdecode('utf-8', '56616c68616c6c61') //Returns 'Valhalla'
See also
syntax/functions/hexdecode.txt · Last modified: 2021/09/18 21:06 by craigt