I was having trouble understanding what string.match()
was and how to use it. Can someone tell me what this does? I looked on the developer website and I didn't quite understand. Thank you!
string.match() is basically a search.
For example, if you had text = "Hello there!" and did if string.match(text, "Hello") then print(true) end
it would print true