String module

slice

procedure · 1 overloadSource

The part of s that starts at index and holds at most count bytes; empty when index is past the end. Both must not be negative: a negative one fails an assert.

slice :: (s: string, index: s64, count: s64) -> string

Parameters

s: string
index: s64
count: s64

Returns

string

See also