D
Darious Snell
I am looking for an elegant way to return just the directory part of a string that
represents a fully qualified path to a file.
Example:
MyString = c:\MyDir\Mydir2\Mydir3\Myfile1.txt
I want to return just c:\MyDir\Mydir2\Mydir3
Thanks!
represents a fully qualified path to a file.
Example:
MyString = c:\MyDir\Mydir2\Mydir3\Myfile1.txt
I want to return just c:\MyDir\Mydir2\Mydir3
Thanks!