Element from a DT to array

Hi,

I have a Datatable. We can call it DT
In this DT : DT.rows(0).item(1) = “hello1, hello2, hello3”

How can I create an Array with the value Hello1 etc…

Thanks

You can Assign yourArrayName = DT.rows(0).item(1).Split(","c)
Make sure you trim the spaces out of your array elements in this case.

1 Like

you were almost done buddy
arr_variable = Split(DT.Rows(0)(1),“,”)

Cheers @Pierre_PARIS

Looks like it’s really simple !
No needs to look further thanks !!

1 Like