View Single Post
Old 02-01-2019, 01:39 PM   #232
Human being with feelings
Join Date: Aug 2011
Posts: 122

Originally Posted by mespotine View Post
It is a string, where each entry is separated from each other by a \0

Path\0filename1\0filename2\0filename3 etc.

The \0 is equivalent to some extend to a nil in Lua, therefore Lua thinks, it ends after the path.
But with string.gmatch() or string.match(), you can search for the other ones as well.

See this post for a code snippet:
Thanks a lot Mespotine! You guys rock
reapero is offline   Reply With Quote