Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Availability
This routine is available starting with SIL Engine™ 3.0.1.
Syntax
subarray(arr, start, end)
Description
Returns an array starting with index 'start' and ending at index 'end'.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
arr | array | Yes | Array. |
start | number | Yes | Start index. |
end | number | Yes | Stop index. |
Return Type
array
Example
string [] firstFollowers = subarray(watchers, 1, 3); //assume the length of watchers >= 3
See also