Syntax | subarray(arr, start, end) | Package | array |
Alias |
| Pkg Usage | subarray(arr, start, end) |
Returns an array starting with index 'start' and ending at index 'end'.
Parameter name | Type | Required | Description |
---|---|---|---|
arr | Array | Yes | Array. |
start | Number | Yes | Start index. |
end | Number | Yes | Stop index. |
Array
string [] firstFollowers = subarray(watchers, 1, 3); //assume the length of watchers>= 3
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.