Sign in Join
FPDoc Onlineexperiment

TCSVDocument.IndexOfRow function

Member of TCSVDocumentpublicIn unit CsvDocument

Test whether a value exists at a given column.

Declaration

pascal
function IndexOfRow(const AString: string; ACol: Integer): Integer

Arguments

AString

Value to search for.

ACol

Column to search in.

Function result

Index of the first row with value aString at column aCol.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.