From my understanding, you can’t change row items in a datatable without using a For Each to loop through each row.
Also, you don’t necessarily need to remove the comma because if you surround that item with quotes, then the CSV will delimit the value correctly.
So basically if would look like this:
For each activity: For each row in dt1
Assign: row.Item("columnname") = """"+ row.Item("columnname").ToString+""""
// or row.Item("columnname") = row.Item("columnname").ToString.Replace(",","")
So that would loop through each row and change the value using an Assign activity.
If the data has thousands of rows, this may not be an efficient solution. The other method would be to manipulate the entire structured data as a string (ie using Output Data Table). However, if you look at the entire row as one string, I don’t know how you would identify which commas are delimiters and which commas need to be removed.
EDIT: added if condition in pseudocode to check if value contains comma