
14 Sep
2010
14 Sep
'10
2:55 p.m.
On Tue, Sep 14, 2010 at 7:09 AM, Sean Farrow
Hi:
I have a path of the form:
Drive\directory1\directory2, how would I go about retrieving the second directory only i.e in this example directory2?
You use filename() to get the last element. filename() returns a path object.
Is this the same code in filesystem 2 and 3?
v2 is leaf(). It might've been known by other names too, but that was the one I used. It returned a string, not a path. v3 is filename(). Regards, Pete