Hi,
I'm not sure how to create one during the variable declaration, but you can use the command "Add to collection" at the beginning of your script!
defVar --name var1 --type List --innertype String --value "[APPROVED,YES,APPROVAL,I AGREE,I APPROVE]"
add --collection "${var1}" --value "Yes, I agree"
------------------------------
Lucas Lima Oliveira
------------------------------
Original Message:
Sent: Wed December 23, 2020 05:02 AM
From: nordine vandezande
Subject: How to add an item with a comma in a collection?
Hi
I have a variable which is a collection (List<T>) of strings.
For example
defVar --name var1 --type List --innertype String --value "[APPROVED,YES,APPROVAL,I AGREE,I APPROVE]"
But I need to add a item that contains a comma like 'YES, I AGREE'
Any ideas how this is possible?
Regards,
N
------------------------------
nordine vandezande
------------------------------