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

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;

Arguments

AString

  

String to search for.

ARow

  

Row to search in.

Function result

Index of the first cell with value aString at row aRow.

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

Cells

  

Array access to all cells.

IndexOfRow

  

Test whether a value exists at a given column.


Documentation generated on: Oct 02 2024