|
| 29 Jan 2014 12:31 PM |
I know it returns start and stop location of pattern found, but does it return in the form of a table or do I need to do:
start,stop = string.find("this is a test","test") |
|
|
| Report Abuse |
|
|
| 29 Jan 2014 12:39 PM |
| print(string.sub("This is a test", string.find("This is a test", "test"))) |
|
|
| Report Abuse |
|