add to list(a,b,c)
Group |
Inserts every token from a, separated by delimiter c into the named list b. The list is emptied first.
The return value of the function is the number of entries added to the list.
This function is the inverse of function dump list(list a, delimiter b, [dump to log c, d]).
Description of Parameters
Parameter |
Description |
a |
Tokens to add. |
b |
Name of list. Default: default |
c |
Delimiter of tokens (use \NL for linefeed). |
Example
Parameter a |
Parameter b |
Parameter c |
Result |
a*b*c |
MyList |
* |
3 |
After the function has been executed, the list MyList contains the values a, b and c.