ilnaz Posted September 28, 2019 Posted September 28, 2019 function NameFunc (text) if string.find(text, "46.") then return true else return false end end NameFunc ("460") -- returned true, wtf!?
Apocalypso Posted September 28, 2019 Posted September 28, 2019 if string.find(text, "46.") then <<<<<<< THIS basically return u true on every number(string) where in text it found numbers like 46 460 046 , 464646 46000... basically every time it goes true when the 46 is writed, and what u want to do?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now