Пређи на главни садржај

List.RemoveRange

Uklanja „count“ broj vrednosti počev od navedenog položaja.

Syntax

List.RemoveRange(
list as list,
index as number,
optional count as number
) as list

Remarks

Uklanja count vrednosti u list počev od navedenog položaja, index.

Examples

Example #1

Uklanjanje 3 vrednosti sa liste {1, 2, 3, 4, -6, -2, -1, 5} počev od indeksa 4.

List.RemoveRange({1, 2, 3, 4, -6, -2, -1, 5}, 4, 3)

Result:

{1, 2, 3, 4, 5}

Category

List.Transformation functions