Function String Numerics Class

HexadecimalHiLoStringsToString

"Hexadecimal High/Low Strings To String" Converts two strings containing different digits of a hexadecimal number into a string.

Signature (Visual Basic / VBA)

Public Function HexadecimalHiLoStringsToString( _
      ByVal vBase16Hi As Variant _
    , ByVal vBase16Lo As Variant _
    ) As String

Code Example

    HexadecimalHiLoStringsToString("44", "12") = "AB"

Parameters

Parameter Description
vBase16Hi String containing the high-order (most-significant-digit) of the hexadecimal number representing each character. Function returns Null if vBase16Hi is Null or cannot be fixed up to a String.
vBase16Lo String containing the low-order (least-significant-digit) of the hexadecimal number. Function returns Null if vBase16Lo is Null or cannot be fixed up to a String.

Notes & Version History

Details The two strings "44" and "12" would be converted to "AB" after being converted to 4142". Similar to the HexadecimalPairsToString function except that in that one the two hexadecimal digits representing each character follow each other within the same string.