ChrHexToUnicode

Converts a hex string to a Unicode string.

Syntax:

ChrHexToUnicode ( hex-string [, flag] )

Parameters:

(s) hex-string: a Unicode string in hex format.

(i) flag:[optional] 0 (default) or 1 to reverse the byte order of each "hex-string" byte pair before converting to a Unicode character.

Returns:

(s) Unicode-string: returns a Unicode string.

 

"hex-string" specifies a Unicode string in hex format, with four hex bytes per Unicode character (eg, "480065006C006C006F00").

 

Example:
unicodestr = ChrHexToUnicode("480065006C006C006F00",0);Hello
Message("Unicode String", unicodestr)
See Also:

ChrUnicodeToHex