Unit 'csvdocument' Package
[Overview][Types][Classes][Index] [#fcl]

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;

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

IndexOfCol

  

Test whether a value exists at a given row.

Cells

  

Array access to all cells.


Documentation generated on: Nov 22 2024