• Reference Guide


byte(bin, n)
Returns n-th byte of the bin data. The first byte has the index 0. The bin parameter is of the Binary type. The parameter n is of the Int type, the result is Byte.
If the parameter n is negative or beyond the end of the data, an error is returned.
Note: for the String or Text type, use the analogical function char.

See Also