I’m asking the user to select the file using Uipath.Core.Activities.SelectFile when I then save the output file I want to save it to the location they selected the input automatically.
For example if the source is c:\files\InputFile.xls
I want to output to “c:\files\Inputfile”+ “-Output” +“.xls”
I have worked out how to extract the file name but but its the path I want so how would I extract everything to the left of the last ""?