indexOf
fun <T : ExpressionValue> Expression<ListValue<T>>.indexOf(item: Expression<T>, startIndex: Expression<IntValue>? = null): Expression<IntValue>(source)
fun <T : ExpressionValue> Expression<ListValue<T>>.indexOf(item: Expression<T>, startIndex: Int? = null): Expression<IntValue>(source)
Returns the first index at which the item is located in this list, or -1
if it cannot be found. Accepts an optional startIndex from where to begin the search.
fun Expression<StringValue>.indexOf(substring: Expression<StringValue>, startIndex: Expression<IntValue>? = null): Expression<IntValue>(source)
fun String.indexOf(substring: Expression<StringValue>, startIndex: Expression<IntValue>? = null): Expression<IntValue>(source)
fun Expression<StringValue>.indexOf(substring: String, startIndex: Int? = null): Expression<IntValue>(source)
Returns the first index at which the substring is located in this string, or -1
if it cannot be found. Accepts an optional startIndex from where to begin the search.