string. byte
functionimplementedavailable in: camelot
Returns the numerical code of a character in a string.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
s | string | The string to get the numerical code from |
index | number | Optional argument specifying the index of the character to get the byte value of |
endIndex | number | Optional argument specifying the index of the last character to return the value of |
Returns
indexByte · number? · The byte value of the character at the specified position or nil if the index is invalid
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.