Find the first occurrence of the pattern in the string passed. If an instance of the pattern is found a pair of values representing the start and end of the string is returned. If the pattern cannot be found nil is returned. > = string.find("Hello Lua user", "Lua") 7 9 > = string.find("Hello Lua user", "banana") nil We can optionally specify where to start the search with a third argument. The argument may also be negative which means we count back from the end of the string and start the search.
| Entity | Attribute | Value | Rank |
|---|