string_byte_at

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

Syntax:

GML Code Example

string_byte_at(str, index);


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


Returns: Real



Example:

GML Code Example

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

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





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here