Difference between revisions of "Data 1 0-CSVToArray"

From ADF Docs
Jump to: navigation, search
 
Line 22: Line 22:
 
 
 
<tr>
 
<tr>
<td>optional</td>
 
 
 
 
<td class="required">optional</td>
 
<td class="required">optional</td>
Line 32: Line 31:
 
 
 
<tr>
 
<tr>
<td>optional</td>
 
 
 
 
<td>&nbsp;</td>
 
<td>&nbsp;</td>
Line 42: Line 40:
 
 
 
<tr>
 
<tr>
<td>optional</td>
 
 
 
 
<td>&nbsp;</td>
 
<td>&nbsp;</td>
Line 52: Line 49:
 
 
 
<tr>
 
<tr>
<td>optional</td>
 
 
 
 
<td>&nbsp;</td>
 
<td>&nbsp;</td>

Latest 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 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.