Funzione statica
Nativa
table.concat
Given a <code>tbl</code> where all elements are strings or numbers, returns the string <code>tbl[start_pos] .. separator .. tbl[start_pos + 1] ... separator .. tbl[end_pos]</code>.<br/><br/>If <code>start_pos</code> is greater than <code>end_pos</code>, returns the empty string
Non ancora tradotto
Sintassi
table.concat(tbl, separator = "", start_pos = 1, end_pos = #tbl)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
tbl
|
table | — | The table to concatenate. |
separator
facoltativo
|
string | "" |
A separator to insert between strings |
start_pos
facoltativo
|
number | 1 |
The index to start at |
end_pos
facoltativo
|
number | #tbl |
The index to end at |
Valore restituito
- string