chickadee » files » decompose-pathname

(decompose-pathname PATHNAME) procedure

Returns three values: the directory-, filename- and extension-components of the file named by the string PATHNAME. For any component that is not contained in PATHNAME, #f is returned.