String.find no working

I have a script that find if string has “.” word.
But he return he has a “.” word:


print(name) --Prints "Windows"
if not string.find(name,".") then data_ = "ϓ" end

. is a special character in string RegEx(regular expressions) that captures any character. Use a \ to break it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.