How to String.join then split it into array string

Please kindly help me fix this Sequence.xaml (7.9 KB) .

1 Like

Hi
Welcome back to uipath community
Let’s go by step by step
—in the if condition cell row < 6
Use a add to collection activity instead of assign activity with string.join method
Where in the add to collections activity mention as list_cellrow in collections property where list_cellrow is a variable of type system.collections.generic.list(of string) with default value as new list(of string) defined in the variable panel
—and in item property mention as cellrow.ToString
So for each iteration inside the if condition the values will get added to the collections

—now in the next message box activity mention like this
String.Join(“,”,list.cellrow.ToArray)

Cheers @wija

4 Likes

Ok, will try later when i’m at home. Thanks btw seems make sense.

1 Like

Thanks it’s worked.

1 Like

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