Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

if string contains lua

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #lua
ADD COMMENT
Topic
Name
8+2 =