Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature Request] Allow use of string.split in luacontroller sandbox environment #470
Referencing minetest forums post: https://forum.minetest.net/viewtopic.php?p=341908#p341908
Are there any technical issues with adding string.split ... it seems like it would be a useful addition. I know it also possible to use a table with named members as the message parameter, but that might not always be practical in all cases (especially when the output format is generated by something that the user has no control over).
However, that raises another question:
What should the scope of helpers be limited to ?
(some helpers might be by-nature unwanted for the purposes of the sandbox)
Here are a few that I can think of which are good candidates:
I was just looking and mintest already defines a lua function called string.split