@UCODE — Returns the hexadecimal values of characters in a string.

Syntax:
%@UCODE[string]

This function behaves like @UNICODE, except that it returns values as hexadecimal (without any prefix). A few characters, including the backquote and the close square bracket, will need to be escaped.


echo %@ucode[This is a test.]

See also: the @UCHAR and @UCODEX functions.