Hi all
Need to remove last -202302140900 for all the files as shown in the image
Can some one help?
do this
System.text.regularExpressions.Regex.Replace(filename, "(\-[\d]+)", "")
Hey
can you try with the following?
Regards
Unable to find rename file activity in studio
Hey
please follow this,in your left panel click in the filter icon then activate the show classic
can you search in the activities panel?
what does it appears?
Hey
Go to design tab → ManagePackages → project dependencies-> Upgrade UiPath.System.Activities
If unable to update to the latest version. You could try the same approach using the Move File
Activity.
Let us know if you receive any errors.
‘From’ should be the original file path and ‘To’ should be the path with updated name (by applying the split method as you’re doing now).
In from field use item
and in to field use
System.Text.RegularExpressions.Regex.Replace(item,"-\d{12}","")
Cheers
Change the type argument of For Each
Activity to String
and Check it it works.
I guess you need not change the type argument to string in your for loop properties
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.