Retrieve Folder Title from Full PathString
Posted on 2003-11-12
i have a drivelistbox,a dirlistbox and a filelistbox.
connected in tree order(if you choose a directory in dirlistbox, all files in that directory will be displayd in filelistbox)
in the end i have a string say FULLPATH
fullpath is for e.g.
what i need is to get only the folder name and not the full path as shown above
so i guess i need some help on a module
which i can send the full path to.
I guess a good idea will be to start from the back till i get a "\"
but im lost on this