Přeskočit na hlavní obsah

List.RemoveRange

Odebere počet hodnot počínaje na určené pozici.

Syntax

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

Remarks

Odebere count hodnot seznamu list počínaje na zadané pozici index.

Examples

Example #1

Odebere 3 hodnoty seznamu {1, 2, 3, 4, -6, -2, -1, 5} počínaje indexem 4.

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

Result:

{1, 2, 3, 4, 5}

Category

List.Transformation functions