C2X (Character to Hexadecimal)

 ───C2X(string)──────

C2X converts a character string to its hexadecimal representation. The data to be converted can be of any length. The returned string contains twice as many bytes as the input string because it is in literal string notation.

Here are some examples:

C2X('0123'X)    ->    '0123'
C2X('ZD8')      ->    '5A4438'     /*   ASCII    */


[Back: C2D (Character to Decimal)]
[Next: DATATYPE]