LineFromChar( CharIndex )
The index position of the line on which the CharIndex was found.
CharIndex - The Index position of the specified character, the index is a zero-based index. CharIndex must be an integer. This parameter is required.
This function will return the line number on which the CharIndex was found. The lines within a Text object also start with a zero index position.