Bitbybit Docs
    Preparing search index...

    Class ParseToArrayDto (Inputs.CSV)

    Feeds csv.parseToArray and csv.getColumnCount with the CSV text and the two separators; a separator can be written as \n or \t in two characters.

    Index

    Constructors

    • Parameters

      • Optionalcsv: string
      • OptionalrowSeparator: string
      • OptionalcolumnSeparator: string

      Returns ParseToArrayDto

    Properties

    csv: string

    The whole CSV text, rows separated by rowSeparator

    name,age\nJohn,30
    
    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; \t written as two characters is read as a tab

    ,