a = string.sub("слово", 1,1)
слово is a word in russian which needs 2 bytes for every letter and the output for
print(a)
is going to something like � depending on where you run it
if a =="?" then
if a =="�" then
if a =="" then
if a ==nil then
doesn’t work
I just want to know which symbol would work for the if statement
New contributor
Consler is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.