scanner

fun Line.scanner(from: Int = start, to: Int = end): Scanner

Return

a scanner over a slice of the line, its terminator excluded

Parameters

from

index the scanner starts at, the line's first character by default

to

index just past the last character the scanner may read, the line's end by default