CArrayToCsv

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CArrayToCsv


 

Convert an array to a CSV string.

 


syntax

CArrayToCsv(

         str

         [, separator = ","]

         [, bDoubleQuotation = FALSE]

         )

 


Parameters

 

str

 

Type:

General purpose

 

The array to convert from.

 

separator

 

Type:

General purpose

 

Separator string. If not specified, a comma (",") will be used.

 

bDoubleQuotation

 

Type:

Boolean

 

TRUE - Write each piece of data enclosed in double quotes.

FALSE - Enclose the data in double quotes only when necessary. This means that the data contains commas (,) and double quotes (").

 

Return Value

 

 

Type:

character

 

The converted string.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation formula syntax

 

 


reference