for Each
Начиная с Kotlin: 1.0
inline fun CharSequence.forEach(action: (Char) -> Unit)
Выполняет заданное действие для каждого символа.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/for-each.html