3.2.67. X2C(hexstring)

Returns the (packed) string representation of hexstring.  The
hexstring will be converted bytewise, and blanks may optionally be
inserted into the hexstring between pairs or hexadecimal digits,
to divide the number into groups and improve readability. All
groups must have an even number of hexadecimal digits, except the
first group. If the first group has an odd number of hexadecimal
digits, it is padded with an extra leading zero before conversion.

     X2C(‘’)             –>   ‘’
     X2C(‘466f6f 426172’)     –>   ‘FooBar’
     X2C(‘46  6f  6f’)        –>   ‘Foo’



PREV NEXT