forEach

inline fun CharSequence.forEach(action: (Char) -> Unit)(source)

Performs the given action on each character.

Since Kotlin

1.0