If I have a path that is unpredictable but I always want the LAST part after the final backslash, how should I approach this?
For example
\\intra.X.net\Exploitation\X\Poste\Travail\X\X\folder\test
I want to output test only.
C:\temp\a\b\CDE\FG\HI
I want to output HI only.
I'm thinking counting how many backslashes then using splits, but do you have a better way to suggest?