Skip to content

TCSVDocument.IndexOfRow

Test whether a value exists at a given column.

Declaration

Source position: csvdocument.pp line 128

public 
function TCSVDocument.IndexOfRow(const AString: string; ACol: Integer)
                                 : Integer;

Description

IndexOfRow returns the index of the first row with given value aString in column aCol. It returns -1 if no such row exists.

See also

Name Description
IndexOfCol Test whether a value exists at a given row.
Cells Array access to all cells.