• Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j]. The default value for i is 1; the default value for j is i. These indices are corrected following the same rules of function string.sub.

    Parameters

    • str: string
    • Optional i: number
    • Optional j: number

    Returns LuaTuple<number[]>