Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

string_byte_at

CryoEagle edited this page Dec 26, 2018 · 10 revisions

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, pos)
Argument Description
string str The string to check
int pos The position to get the byte from

Returns: int

Example:

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

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /