Hi Guys,
When I am converting sting to container using the function "str2con"
It is passing like [123 , 456]
but what I need is ["123", "456"]
Can you please help me to solve this.
Instead of converting string to container you can directly insert string values to list.
List values = new List(Types::string); values.addstart("123"); values.addStart("456"); // You can pass this list values directly instead of converting them to container and then to list
Thanks,
Girish S.
Hi Girish
I will input the str parameter as - 123 , 456
and then I will convert into container using function "str2con".
and then I will convert into list using function "con2list"
and finally I will send the value as list in request JSON.
Hi jenifer,
Can I know why you want to save them with double quotes in container?
If you want that, while getting values from container you can use int2str function to convert them to string field, right?
Thanks,
Girish S.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156