public override indexOf(item as ArrayList<String>, start as Int = 0) as Int:
Returns the first index of a parsed row.
| Parameter | Description |
|---|---|
item | Row to locate. |
start | Zero-based index where the search starts. |
The first matching index, or -1 when no row matches.
import klyn.io
import klyn.io.csv
reader = CSVReader(StringReader("name\nAda"))
assert reader.indexOf(["Ada"]) == 1