table.remove
From GMod Wiki
| Function | |
| Syntax | table.remove( Table  table, [ Number  ID ] ) Where is this used? | 
| Description: | |
| Removes and returns the nth item in a table. If no number is given will remove the last item. It will also shift the remaining items up or down to reflect the new table. | |
| Returns: | Var The item taken out | 
| Part of Library: | Table | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Table.remove]Table.remove [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Example
| Description | Demonstrates the use of table.remove | 
|---|---|
| Used on |  | 
| Code | local x = { "a", "pie", "delta", "money" } table.remove( x, 2 ) Msg( x ) -- { "a", "delta", "money" } | 
| Output | N/A | 
 
			
			