slice

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

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.