mx (Mask ASCII to Hexadecimal) Processing Code

The mx processing code converts all ASCII characters in a given value to their corresponding ASCII-hexadecimal equivalent. The characters are converted one at a time to 2-digit hexadecimal numbers. The my code is the inverse of the mx code.

System Processors

Select, Update, List

Code Type

Attribute Defining

Dictionary Attributes

Input Conversion, Output Conversion, Correlative

Syntax

mx

Example(s)

Data

Conversion

Sample Output

123

mx

313233

abc

mx

616263

a dog

mx

6120646F67

See Also

iconv() Function, my (Mask Hexadecimal to ASCII) Processing Code, output-conversion, Processing Codes Overview, Processing Codes