dump list(list a, delimiter b, [dump to log c, d])
Group |
Creates a string containing all elements of a named list a separated with the value specified in b. Parameter c defines if the dump should be logged.
Note: Please note that this function writes 'hidden' values into the log like 'real' values. See the explanations for the Empty Flag.
Description of Parameters
Parameter |
Description |
a |
Name of the list. Note: A missing value or a name of a non-existing list does not generate an error. |
b |
Separator. |
c |
(optional) true if the dump should be logged. Default: false. |
d |
(optional) If true, the dump is written to the additional info, instead of to the normal job log. Default: false. |
Examples
Defined is the list MyList with elements {val1, val2, val3}.
Parameter a |
Parameter b |
Parameter c |
Parameter d |
Result |
MyOtherList |
|
|
|
|
MyList |
|
false |
|
val1val2val3 |
MyList |
: |
true |
|
val1:val2:val3 |
MyList |
_is better than_ |
|
|
val1_is better than_val2_is better than_val3 |