klyn.io.csv.CSVReader.indexOf
method
public override indexOf(item as ArrayList<String>, start as Int = 0) as Int:
Description

Returns the first index of a parsed row.

Parameters
ParameterDescription
itemRow to locate.
startZero-based index where the search starts.
Returns

The first matching index, or -1 when no row matches.

Example
import klyn.io
import klyn.io.csv

reader = CSVReader(StringReader("name\nAda"))
assert reader.indexOf(["Ada"]) == 1