string.find
local tab = {['?'] = true, ['?'] = true } local edit = guiGetText(editbox) if not edit then return end for k,v in pairs(tab) then if string.find(edit, v) == true then outputChatBox('zawiera polski znak', root) end end