Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
first
Returns the first character.
Exceptions
NoSuchElementException
- if the char sequence is empty.
Returns the first character matching the given predicate.
Exceptions
NoSuchElementException
- if no such character is found.