I'm trying to get the portion of a folder name that comes after the last "\". For instance.
k:\cortland\wade = wade
k:\cortland\wade\arch = arch
I've been trying to use a combination of Split and LastIndexOf but I'm not having any luck. Can anyone steer me in the right direction?
k:\cortland\wade = wade
k:\cortland\wade\arch = arch
I've been trying to use a combination of Split and LastIndexOf but I'm not having any luck. Can anyone steer me in the right direction?