Data 1 0-CSVToArray

From ADF Docs
Jump to: navigation, search

Attention: Do not change any text in the description, signature, and paramter sections.

Return to Data_1_0


Takes a CSV file or CSV data value and converts it to an array of arrays based on the given field delimiter. Line delimiter is assumed to be new line / carriage return related.


public array CSVToArray ( string File, string CSV, string Delimiter, boolean Trim )


Required Name Type Description
optional File string [Default: ] The optional file containing the CSV data.
  CSV string [Default: ] The CSV text data (if the file was not used).
  Delimiter string [Default: ,] The data field delimiter.
  Trim boolean [Default: true] Flags whether or not to trim the END of the file for line breaks and carriage returns.