3.2.10. C2X(string) Returns a string of hexadecimal digits that represents the character string string. Converting is done bytewise, the six highest hexadecimal digits are in uppercase, and there are no blank characters in the result Leading zeros are not stripped off in the result. Note that the behavior of this function is dependent on the character set that your computer is running (e.g. ASCII or EBCDIC). C2X(‘ffff’x) –> ‘FFFF’ C2X(‘Abc’) –> ‘416263’ /*For ASCII Machines */ C2X(‘1234’x) –> ‘1234’ C2X(‘011 0011 1101’b) –> ‘033D’
PREV NEXT