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

findLastAnyOf

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

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

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

This is simply a convenience function.

See Also

kotlin.text.findLastAnyOf