Hi,
I have a User input path which will have a Folder_Name at the end of the path as shown below;
C:\Users\r628953\Desktop\09-25-2018_Sample_files
So, I need to find the last occurrence of "\" in the above path and replace the right of the string with "". So, that I will get the folder name out of the string; which will be 09-25-2018_Sample_files. I have researched about it, but could not able to get the exact answer I am looking for.
Can some one help me in achieving this?
Thanks!