Skip to content

TCSVDocument.IndexOfCol

Test whether a value exists at a given row.

Declaration

Source position: csvdocument.pp line 126

public 
function TCSVDocument.IndexOfCol(const AString: string; ARow: Integer)
                                 : Integer;

Description

IndexOfCol returns the index of the first cell with given value aString in row aRow. It returns -1 if row aRow does not exist, or if the value does not appear in the given row.

See also

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