I just recently look at one of my old games, when I noticed one script had this strange Keyword I've never seen before, strfind
, aswell as strsub
, strlower
, strbyte
, strchar
, strlen
, and a few more, I do not know what these are, nor or what these were/was used for.
Those are from the string manipulation library in Lua 2.4, similar to the current string library.
strfind
being string.find
or:find()
,
strsub
being str.sub
or:sub()
, etc.
Of course, there are also other keywords that have changed since 2.4, so they are likely from 2.4 as well. If you wish to know more you can read the reference manual for that version. (I am not sure in what version these were changed, but these keywords are also present in Lua 4.0)