TO_HEX_STR Function


Description: This function converts a string into a hexadecimal string.

Parameters: String

  • Source text: A string value that we want to convert into a hexadecimal string.

Return: Hexadecimal string.

Syntax: TO_HEX_STR (<source text>)

Example: Convert the string 'FIRST_NAME' to hexadecimal string and assign the result to the string variable 'A_VARIABLE'. For an input value of 'abc', the resulting hexadecimal value will be '818283'

A_VARIABLE = TO_HEX_STR( DE("FIRST_NAME").getValue( ) ) )


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*