Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAvailability

This routine is available since starting with katl-commons 3.0.1.

Syntax

...

subarray(arr, start, end)

Description

...

Excerpt

Returns an array starting with index start and ending at index end

Parameters

...

Parameter name

Type

Required

Description

arr

array

Yes

The array.

startnumberYesThe start index
endnumberYesThe stop index

Return Type

...

array

Example

...

Code Block
string [] firstFollowers = subarray(watchers, 1, 3); //assume the length of watchers >= 3


See

...

also

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "array_routines"
labelsarray_routines