Custom string case function in Lua 4

Viewed 60

I am modding a video game that uses Lua 4.

The function strlower is unavailable to me due to the game designer's choices. The following functions are also unavailable to me.

strbyte
strchar
strfind
strlen
strrep
strsub
strupper

How would I write a custom function that does the same thing as strlower given the above limitations?

Do I only need to worry about ASCII characters? Or does Lua 4 do Unicode as well?

0 Answers
Related