User Tools

Site Tools


syntax:functions:hexdecode

This is an old revision of the document!


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

ArgumentTypeDescription
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.1631933164.txt.gz · Last modified: 2021/09/17 22:46 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki