How to convert collections to string, and how to add values inside the list

Hi,

  1. I have stored some values to append item list, how can I convert that to string,
    2.How can I add those values in the collection.

Can any one please suggest how to do this.

@Chippy_Kolot

In what collection you want to add?

Append item to collection can be used to do that

To convert a list of ites to string use String.Join(",",listvar)

Here you can joinin gwith anything I am doing it with comma

Cheers

Hi,
I tried out this one but im getting error,
“Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled”

@Chippy_Kolot

I guess you copy pasted this expression from here…

In the editor of UiPath studio can you remove the double quotes and enter or key in the double quotes again please…

Cheers

Hello @Chippy_Kolot
Try this one to get the list into strings

String.Join(",",YourList)

Based on your needs, separator “,” can change.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.