pathname-strip-extension

[procedure] pathname-strip-extension pathname

Chicken: see also pathname-extension, pathname-replace-extension, pathname-strip-directory.