hex_string()

Scalar. Converts a binary value into a hex string.

Syntax

hex_string ( binary )

Parameters

binary

A binary value.

Usage

Converts a binary value into a hex string. The function takes a binary value as its argument, and the function returns a string that represents a hex string without the preceding "0x" in all uppercase.

Example

hex_string ( hex_binary ('0xaa') ) returns AA.

hex_string ( hex_binary ('0xaa1234') ) returns AA1234.