Returns the column number of the character position.
// get the column number of position 40... echo $scintilla->get_column(40);