Answers for "lua delete element from table"

Lua
0

remove from table lua

table.remove(tbl, index) -- Removes and shifts remaining elements
tbl[index] = nil -- Removes without shifting
Posted by: Guest on September-07-2021

Browse Popular Code Answers by Language