In script editor, typing out string.sub
shows that all 3 arguments for that method are strings, this isn’t the case as documentation describes that only one argument is a string, and two are numbers.
How to reproduce:
- Open studio.
- Create a script, type out
string.sub()
. - See arguments listed out (string s, string i, string j).