Converting String [] to datatable variable


#1

Hi,

I have data stored in a String [] variable and I need to convert it to datatable variable. Can someone explain how this should be done? Thanks!


#2

Hi @merlinazzz,

Using Build Data Table create the table first.

then use add data row->Properties ->ArrayRow pass your string array.

Regards,
Arivu


#3

Hi @arivu96,
thanks for the answer. I am new to UiPath, could you please be a bit more explicit about the intermediate actions in this case? Thanks a lot!


#4

Hi @merlinazzz,

Please find attached workflow to implement your requirement.

Reg,
SarthakTest_1.xaml (8.3 KB)


#5

Hi @sarthakj, thank you a lot!


#6

Hi,

Can we do this without For each loop? With VB expression?
Thanks

Lav