CStrToArray

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CStrToArray


 

Converts a string into an array using the separator string as a delimiter.

 


syntax

CStrToArray(

         str

         [, separator = LF]

         [, bTrimSpace = FALSE]

         [, bIgnoreEmptyData = FALSE]

         )

 


Parameters

 

str

 

Type:

General purpose

 

The source character.

 

separator

 

Type:

General purpose

 

Separator string, default is line field (LF).

 

bTrimSpace

 

Type:

Boolean

 

When TRUE, any space characters on either end of the characters decomposed into each column will be deleted.

 

bIgnoreEmptyData

 

Type:

Boolean

 

When TRUE is set, if the characters separated into each column are empty, they will not be added as a record.

 

Return Value

 

 

Type:

character

 

The converted array.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Supported


Script Action

Browser script

Calculation formula syntax

 

 


reference