Seperate DT content by ";"

Hello,

I have a DT content, which i want to use later, but seperated by “;”

Untitled

The output should be as below :

002314;002324;002334…

Any sugestions ? Thanks

give a try on assign activity:

LeftSide: strValues | datatype: String
Right side:

String.Join(";",YourDataTableVar.asEnumerable.Select(Function (x) x(YourColNameOrIndex).toString.Trim))

is giving a list of all colvalues. Or are you looking for a partiucal filtered list, as sample output is different from sample input values?

1 Like

@ppr

That’s what i was looking for. Thank you!

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