MX Conversion

Character-to-Hexadecimal Format. The MX conversion converts a character string to its hexadecimal ASCII equivalent.

Format

MX

Description

Each character is converted to a two-digit (one byte) hexadecimal number. This conversion is useful for finding non-printable characters in strings of data.

Using the MX Conversion

In the example below, the string begins with a CTRL+A and is followed by the characters A, B, and C.

Data as Stored

Result of Conversion

CTRL+AABC

01414243

CTRL+\

FC

CTRL+]

FD

CTRL+^

FE

ABC

414243

JOHN

4A4F484E

john

6A6F686E

See Also

Correlatives and Conversions Reference