Table

table.remove

Removes from list the element at position pos, returning the value of the removed element.

Syntax

remove(list: table [, pos: integer])  returns  any