SPLIT

Parses a string and populates an array variable whose contents are determined by the delimiter character.

Syntax

SPLIT(arrayVariable, string [, delimiter])

Arguments

Argument Description Default
arrayVariable Variable which will be created None
string The string which Enrichment will parse None
delimiter The character to be used as the delimiter character ,

Results

Result Description
%%RC 0
%%RM Null string
%%RV 0

Examples

Function Call Result
SPLIT(%%animals, 'Cat,Dog,Mouse') %%animals will be an array variable with 3 elements:

Cat Dog Mouse