dump list(list a, delimiter b, [dump to log c, d])
Creates a string containing all elements of a 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.
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 performed into the "Additional info" tab of the logs 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 |