Hello!
Is there any library of string functions that are similar to what is available in lua? I remember that in the pre-lua era somebody has made some, but can't remember who and can't find the thread.
Furthermore, can someone explain me how the match works in eel? For example:
Code:
match("test","This is a test string",#result);
I expected this to match the word test and store it in #result. But it doesn't work? Why?
This matches "This is a ":
Code:
match("%s*test%s","This is a test string",#result);
No idea why! But this does not work! :
Code:
match("%s*test","This is a test string",#result);
And this matches "This is a test s" :
Code:
match("%s*t%s","This is a test string",#result);
I can't understand how it works at all...