Pike v8.1 release 6

Method Parser.HTML()->at_char()


Method at_char

array(int) at()
int at_line()
int at_char()
int at_column()

Description

Returns the current position. Characters and columns count from 0, lines count from 1.

at() gives an array with the following layout.

Array
int 0

Line.

int 1

Character.

int 2

Column.