Bitbybit Docs
    Preparing search index...

    Class GetRowCountDto (Inputs.CSV)

    Feeds csv.getRowCount with the CSV text, how many leading rows are not data and the separators.

    Index

    Constructors

    • Parameters

      • Optionalcsv: string
      • OptionalhasHeaders: boolean
      • OptionaldataStartRow: number
      • OptionalrowSeparator: string
      • OptionalcolumnSeparator: string

      Returns GetRowCountDto

    Properties

    csv: string

    The whole CSV text; blank lines are not counted

    name,age\nJohn,30\nJane,25
    
    hasHeaders?: boolean

    When true, the first row is a header line and is not counted; ignored when dataStartRow is set

    true
    
    dataStartRow?: number

    Index of the first data row, counting from 0; when set, the rows before it are not counted and hasHeaders is ignored

    0

    Infinity

    1

    true

    rowSeparator?: string

    The text between rows, normally a line break; \n written as two characters is read as one

    \n
    
    columnSeparator?: string

    The text between cells in a row, normally a comma; it does not change the count

    ,