count
inline fun CharSequence.count(
predicate: (Char) -> Boolean
): Int
Returns the number of characters matching the given predicate.
inline fun CharSequence.count(
predicate: (Char) -> Boolean
): Int
Returns the number of characters matching the given predicate.