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