xs_implode
- Синтаксис
-
stock xs_implode(output[], outsize, delimiter, const input[][], elemsnum) { new pos = 0; new copied; for (new i = 0; i < elemsnum; ++i) { copied = copy(output[pos], outsize - pos, input[i]); pos += copied; if (pos >= outsize) return outsize; // append delimiter output[pos] = delimiter; ++pos; // last check if (pos >= outsize) return outsize; } output[--pos] = 0; // The last char would be delimiter, so skip it. return pos; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.