@UCODEX
— Returns the
hexadecimal values of characters in a string.
Syntax:
%@UCODEX[
string]
This function behaves like @UNICODE
, except that it returns
values as hexadecimal with leading 0x
. A few characters,
including the backquote and the close square bracket, will need to be escaped.
echo %@ucode[This is a test.]