Skip to content

csvRows

csvRows(csv) → number · CSV

Get the number of data rows in a CSV string (excluding header).

  • csv (required): CSV string
utlx
let csv = "Name,Age\nAlice,30\nBob,25\nCharlie,35"
{
  rowCount: csvRows(csv)    // 3
}

Released under AGPL-3.0.