findLast

inline fun CharSequence.findLast(predicate: (Char) -> Boolean): Char?(source)

Returns the last character matching the given predicate, or null if no such character was found.

Since Kotlin

1.0

Samples