SYNOPSIS:

string func.file.getdir(filename)

DESCRIPTION:

Get the directory portion of a given filename.

RETURN VALUE:

Returns the filename with the part after the last / stripped.

SEE ALSO:

expression, variable, function, func.file,
func.file.chdir, func.file.rmdir, func.file.mkdir, func.file.exists,
func.file.open, func.file.close, func.file.unlink,
func.file.puts, func.file.gets