pathname-extension

procedure] pathname-extension pathname

Chicken: see also pathname-file, pathname-directory, decompose-pathname, pathname-replace-extension