slice

Returns an item from an array or a substring from a string from a specified start index, or between a start index and an end index if set. The return value is inclusive of the start index but not of the end index.

fun slice(vararg expressions: Array<out Expression>): Expression

DSL function for "slice".

fun slice(block: Expression.ExpressionBuilder.() -> Unit): Expression