next

operator fun next(): Char

Extract the current character and increment the position.

Return

The consumed character.

Throws

If scanning fails.