Split

concerns

The Split attribute function divides a string at the positions of a data divider and provides the divided parts in the list variable. The function ist he compelemtary function to the Join attribute function.

 

Syntax

Split(Data, [DataDivider])

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

Data

String

ByVal

String value that should be splitted at the positions of the data divider.

Optional

DataDivider

String

ByVal

Default value: apostroph (;)

The data dividing character.

 

Example:

 

Dim s As String

 

s := "red,green,blue"

 

Colors.Split(s, ",")

 

MsgBox(Colors.Join)

#shows red,green,blue