Difference between revisions of "Data 1 0-CSVToArray"

From ADF Docs
Jump to: navigation, search
Line 1: Line 1:
 +
__NOTOC__
 +
Attention: Do not change any text in the description, signature, and paramter sections.
 +
 +
Return to [[Data_1_0]]
 +
 
== Description ==  
 
== 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.
 
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.

Revision as of 12:45, 9 April 2010

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 optional File string [Default: ] The optional file containing the CSV data.
optional   CSV string [Default: ] The CSV text data (if the file was not used).
optional   Delimiter string [Default: ,] The data field delimiter.
optional   Trim boolean [Default: true] Flags whether or not to trim the END of the file for line breaks and carriage returns.