Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorials
/
Computer Programming
/
Kotlin
/
Library
/
More library topics
More Kotlin library references
Explore additional libraries and worked examples for this language.
useLines
Sequence.filter and take
Search this section
Search
useLines
Process a text reader while its lines are available
Sequence.filter and take
Stop reading once two matches are found
All Kotlin library sections