📅  最后修改于: 2022-03-11 14:55:08.079000             🧑  作者: Mango
str = "This is some text containing the word tiger."
if string.find(str, "tiger") then
print ("The word tiger was found.")
else
print ("The word tiger was not found.")
end