>>-B2X(binary_string)------------------------------------------><
0
or 1
) digits. It can be of any length. You can optionally include whitespace characters in binary_string (at 4-digit boundaries only, not leading or trailing) to improve readability; they are ignored.
A
-F
, and does not include blanks or horizontal tabs.
0
digits are added on the left before the conversion to make a total that is a multiple of 4.
Example 7.9. Builtin function B2X
B2X("11000011") -> "C3" B2X("10111") -> "17" B2X("101") -> "5" B2X("1 1111 0000") -> "1F0"
Example 7.10. Builtin function B2X combined with X2D function
X2D(B2X("10111")) -> "23" /* decimal 23 */