Data 1 0-CSVToArray

From ADF Docs
Revision as of 12:45, 9 April 2010 by Api (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Return to Data_1_0

Description

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.

Signature

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

Parameters

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.