findString

findString(str:           String;
           row:           Integer io;
           caseSensitive: Boolean;
           exact:         Boolean): Boolean;

The findString method of the JadeTableRow class searches the cells in a row of a Table control for the string specified in the str parameter. The search starts at the cell column specified by the column parameter or at the first column if the parameter value is less than 1.

The case‑sensitivity of the search is determined by the value of the caseSensitive parameter.

If the exact parameter value is false, the search matches any cell text with the specified prefix. If the exact parameter value is true, the search matches only cells whose text is an exact match.

If the search does not find a cell containing the string with the required caseSensitive and exact parameter values, this method returns false. If the search finds a cell containing the string with the required case‑sensitive and exact options, this method returns true and the column of the located cell is returned; for example:

col := 0;
while table1.accessRow(2).findString("city", col, false, false) do
   ....
    col := col + 1; // repeat the search starting in the next column
endwhile;

2016.0.02 (Service Pack 1) and higher