中文
Node Documentation

List Slice

DataTarget independentcollection.slice

Return a new list from Start for Count items. Negative Start clamps to 0; a negative Count takes the remainder; zero or an out-of-range Start returns an empty list.

Example use

Take 10 items starting at index 0 and pass the batch to For each.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 3

Listlistlist<$T>

The list to operate on, with elements matching its declared element type.

RequiredDefault: None
StartstartInteger

The zero-based starting position.

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
CountcountInteger

The number of repetitions or items; see this node’s description for zero and boundary behavior.

Default availableDefault: -1
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42

Data outputs 1

Resultresultlist<$T>

The result of this data operation, with its type determined by the matching inputs.

Version and node identity

Version 1.0.0

sha256:9ceb1d322be7295a0cb69219fac37cca22fd130f6b4bd20fa9fe8cf509e9dc1d