BYTE(var$, byteno)

Returns the integer value of a specific byte in a string (0-255). This is the equivalent of ASC(MID$(var$,byteno,1)) but operates much faster.

See also the BYTE command