getLineOffset

Returns the character offset of the iterator, counting from the start of a newline-terminated line.

The first character on the line has offset 0.

Return

offset from start of line