On this page:
Dir  Name
dirnames
dirname
basename
8.2

DirName

Maciej Barć <xgqt@riseup.net>

 (require dirname) package: dirname

procedure

(dirnames pth)  string?

  pth : path-string?

Example:
> (dirnames "/home/user/Downloads")

'("/home/user/" "Downloads")

procedure

(dirname pth)  string?

  pth : path-string?

Example:
> (dirname "/home/user/Downloads")

"/home/user/"

procedure

(basename pth)  string?

  pth : path-string?

Example:
> (basename "/home/user/Downloads")

"Downloads"