dglux5_wiki:dataflow:dataflow_blocks_reference:table_operations:csv_parser

CSV Parser

Block Group: Table Operations
Icon:CSV Parser block icon

The CSV Parser block converts a CSV string into a table.

This is a commonly used block, because many data-driven features in DGLux5, such as charts and repeaters, require tabular data.

The CSV parser block is often used to parse a string that has been retrieved using a String Loader block.

For information on using dataflow blocks, see Dataflow.

For answers to some common questions about working with tables, see Tables.


More video tutorials are here.


The following properties of the CSV Parser block can take input and give output.

  • input (string)
  • withHeader (boolean)
  • delimiter (character)

input receives the CSV string. It is often the output from a String Loader block.

withHeader specifies whether the CSV string includes a header row. If TRUE, the first row is used as the column names. If FALSE, the columns are named v1, v2, and so on.

delimiter specifies the character that separates items in the CSV string. Typically this character is a comma (,), which is the default. Only the first character of delimiter is used.


The following properties of the CSV Parser block can give output but cannot take input.

  • parseError (boolean)
  • output (table)

parseError indicates whether the block encountered an error. An error might be caused by improperly formatted input.

output returns a table parsed from the CSV data.


The following image shows, clockwise from top left:

  • A String Loader block
  • A CSV Parser block
  • The output table of the CSV Parser block
  • The CSV file

CSV Parser block example


  • dglux5_wiki/dataflow/dataflow_blocks_reference/table_operations/csv_parser.txt
  • Last modified: 2026/10/22 13:24
  • by 127.0.0.1