How to Copy mail data to a Text file and end it with a delimeter

studio

#1

Hi,
My Mail content is:

Name: UiPath Start Date : 01-01-1900 End Date : 01-01-1900

and I need below content in my text file:

Name: UiPath ;
Start Date: 01-01-1900 ;
End Date: 01-01-1900 ;

Please suggest how can I do this?

Thanks,
Anjali


#3

Hi Bharani,
I don’t want to replace : with ; instead I need to add : with newline.

Thanks,
Anjali


#4

Is Name, Start Date and End date static across emails?

If that’s the case use
.Replace(“Start Date”,";"+Environment.NewLine+“Start Date”).Replace(“End Date”,";"+Environment.NewLine+“End Date”