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


string_byte_at(str, index);

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

Returns: Real


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

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

Back: Strings
Next: string_byte_length
© Copyright YoYo Games Ltd. 2018 All Rights Reserved