Skip to main content

StringSplitBy

Type​

statement

Summary​

Splits the string in Target into a list of strings, using Delimiter

                as the delimiter.

Syntax​

split <Target> by <Delimiter>

Description​

Use the split command to convert a string representation of a list into a genuine (ordered) list.

Parameters​

NameTypeDescription

Target

An expression that evaluates to a string container.

Delimiter

An expression that evaluates to a string.

Examples​

variable tVar as String
put "first,second,third,fourth,fifth" into tVar
variable tSplit as List
split tVar by "," into tSplit
put element 1 of tSplit into tFirstElement // tFirstElement contains "first"

Value​

NameTypeDescription

the result

The list of strings.

Thank you for your feedback!

Was this page helpful?