add to list(a,b,c, [skip empty d])

Inserts every token from a, separated by delimiter c into the list b. The list is emptied first.

The return value of the function is the number of entries added to the list.

Parameters


Parameter

Description

a

Tokens to add.

b

Name of list. Default: "default".

c

Delimiter of tokens (use "\NL" for linefeed).

d

(optional) "true", if values with set Empty Flag should not be added to the list. Default: "false".

Example


Parameter a

Parameter b

Parameter c

Parameter d

Result

a*b*c

MyList

*


3

After the function has been executed, the list "MyList" contains the values "a", "b" and "c".