dirnameIn a string containing slashes, the basename is everything preceding the last slash.Relatedbasenameᛦ2020-10-19