indexOf

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

Returns the first position at which an item can be found in an array or a substring can be found in a string, or -1 if the input cannot be found. Accepts an optional index from where to begin the search.