Makes an array containing Input's elements from StartIndex to StopIndex-1.
Fails unless 0 <= StartIndex <= StopIndex <= Input.Length.
Verse using statement |
using { /Verse.org/Verse } |
(Input:[]t).Slice<public>(StartIndex:int, StopIndex:int where t:any):[]t
Parameters
Slice takes the following parameters:
| Name | Type | Description |
|---|---|---|
Input |
[]t |
|
StartIndex |
int |
|
StopIndex |
int |
|
t |
any |
Attributes, Specifiers, and Effects
The following attributes, specifiers, and effects determine how you can interact with Slice in your programs, as well as how it behaves in your programs and UEFN. For the complete list of attributes, specifiers, and effects; see the Specifiers Page.
Specifiers
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |