ptrn = "A.*A" print(string.find("A 34567890", ptrn))print(string.find("A23A567A90", ptrn))
Standard input is empty
nil 1 8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!