Documentation / dataflow / com.femastudios.dataflow.extensions / findLastAnyOf
Go to reference


@JvmOverloads fun Field<String>.findLastAnyOf(strings: Field<Collection<String>>, startIndex: Field<Int> = com.femastudios.dataflow.util.fieldOf(0), ignoreCase: Field<Boolean> = com.femastudios.dataflow.util.fieldOf(false)): Field<Pair<Int, String>?>
@JvmOverloads fun Field<String>.findLastAnyOf(strings: Collection<String>, startIndex: Int = 0, ignoreCase: Boolean = false): Field<Pair<Int, String>?>

Same as findLastAnyOf, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling findLastAnyOf in the transformation function.

This is simply a convenience function.

See Also