Skip to content

@lang:str.slice

Extract a section of a string.

Returns: string

@lang:str.slice(value start end?)
NameTypeDescription
valuestringInput value
startnumberStart index (inclusive)
[end]numberEnd index (exclusive)