I have a dynamic folderPath. Could be:
1st C:\Users\Documents\UiPath\Folders\Files\Section I.zip OR
2nd C:\Users\Downloads\OneDrive\File\Section III.zip
Using substring currently but it wouldn’t work with 2 different folderPaths. Example, if I use folderPath= folderPath.substring(33, 11)
1st Would result in “\Files\Sec”
2nd result in “Section III”
folderPath will always end in Section I, II, III, IV, V, or VI and .zip
Is there a better method to use? Thank you!