method
dirname

dirname(p1)
public
Register or
log in
to add new notes.
tadman -
April 23, 2009

5 thanks
For the filename use File.basename
File.basename provides what File.dirname omits.