SyntaxFix
Write A Post
Hire A Developer
Questions
string.find("substring") will help you. This function returns -1 when there is no substring.
string.find("substring")
-1