chickadee » files » decompose-pathname

decompose-pathname PATHNAMEprocedure

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.