Get Illegal Character in Move Activity

I am trying to concatenate NEW_FILE_NAME variable to type string

“\nj3uipathorch1d\DEV_RPA_File_Transfer\Packingslip" +New_File_Name.ToString+”.“+“jpg”
or
“\nj3uipathorch1d\DEV_RPA_File_Transfer\Packingslip" +New_File_Name+”.”+“jpg”

With Write line Message I am getting this as

\nj3uipathorch1d\DEV_RPA_File_Transfer\Packingslip\O016320
.jpg

Is it because it is going to next line?

Hi @Naveen_Singh,
Use trim method.

New_File_Name.Trim

Regards,
Arivu

Thanks, It worked. I appreciate your quick response!

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