Archive: Path Manipulation


Path Manipulation
Hi People,

If I have a string, say: "c:\my documents\test.txt"

Is there a function where I can extract file path and file name. Or, rather, is there a way I can split the string in two parts. That part before the last "\" and the part after the last "\".

So...


First = c:\my documents\
Last = test.txt

Thanks.


Use GetParent and GetFileName.