@antiraid-ext/strings/index
API reference for @antiraid-ext/strings/index
Updated April 11, 2026
@antiraid-ext/strings/index
Functions
string_index
Returns the character at the specified index in the string.
Function Signature
--- Returns the character at the specified index in the string.
--- @param str string The string to index.
--- @param idx number The index of the character to retrieve (1-based).
--- @return string The character at the specified index.
function string_index(str: string, idx: number) endArguments
str
string The string to index.
idx
number The index of the character to retrieve (1-based).