string_byte_at

Returns the raw byte value as a real value at a given position in the given string.

 

Syntax:

string_byte_at(str, index);

Argument Type Description
str String The string to check.
index Real The position to get the byte from.

 

Returns:

Real

 

Example:

newbyte = string_byte_at("Hello World", 5);

This will set newbyte to the raw byte value of the sixth letter of "Hello World".