Add row in a csv

I have a csv file with several lines, I want to read the csv file and then add a number “C702352” at each end of line.
how can we do ?
thank you so much

Hi,
you can read the csv as a datatable and add then use a add data row to add row to the datatable and then write back to csv file.

Or if you want to add it as a new column then you can use add data column acticity to add the new column and then use for each of datatable add value to the newly mentioned column which will be added as the last column.
Let us know if this helps.
Regards,
Pavan H

thanks bt is it possible to have an exemple in uipath?
thank you very much

Sure

1 Like

Hi,
I have used the excel file you can try with csv file instead of excel.

please find the attached file.Test.zip (7.5 KB)

Regards,
Pavan H

2 Likes

it works thanks you so much @pavanh003

1 Like

Hi,
Please close the loop this will help others in knowing the solution.

Regards,
Pavan H

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