guys, I need some Char value, that indicates the E...
# announcements
e
guys, I need some Char value, that indicates the EOF (end of file), some special value, that 100% won’t appear in the regular text input. What can I use?
val eof = '\0' // doesn't work
d
Kotlin does not know the
\0
escape sequence, you need to use the
\uXXXX
notation. https://kotlinlang.org/docs/reference/basic-types.html#characters