Simstim

VEX Dictionary / slice

slice

Extracts part of an array or string using start, end, and step indices, like slicing syntax.

group: array

Available in every context

Usage

string slice(string s; int start; int end)
string slice(string s; int start; int end; int step)
<type>[] slice(<type> s[]; int start; int end)
<type>[] slice(<type> s[]; int start; int end; int step)
string slice(string s; int hasstart; int start; int hasend; int end; int hasstep; int step)
<type>[] slice(<type> array[]; int hasstart; int start; int hasend; int end; int hasstep; int step)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗