-
-
Notifications
You must be signed in to change notification settings - Fork 19
string_byte_at
drewmccluskey edited this page Dec 15, 2018
·
10 revisions
Returns the raw byte value as a real value at a given position in the given string.
string_byte_at(str, index);| Argument | Description |
|---|---|
string str |
The string to check. |
int pos |
The position to get the byte from. |
Returns: real
int newbyte = string_byte_at("Hello, World!", 5);This will set newbyte to the raw byte value of the sixth letter of "Hello World".
Back to strings