first

abstract fun first(): Char

Sets the position to getBeginIndex() and returns the character at that position.

Return

the first character in the text, or DONE if the text is empty

See also

.getBeginIndex