Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

Lua table functions

Note: [var] -> means var is optional 

table.concat(table, [separator], [start index], [end index (inclusive)])
	Concatenates the strings in the table based on the parameters given.
   	
table.insert(table, [pos], value)
	Inserts a value into the table at specified position.

table.remove(table, [pos])
	Removes the value from the table.

table.sort (table ,[comp])
	Sorts the table based on optional comparator argument.
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #Lua #table #functions
ADD COMMENT
Topic
Name
5+9 =