Returns the raw byte value as a real value at a given position in the given string.
string_byte_at(str, pos)
string str
int pos
Returns: int
int
int byte1 = string_byte_at("Hello, World!", 5);
This will set byte1 to the raw byte value of the sixth letter of "Hello World".
Back to strings
There was an error while loading. Please reload this page.