basename

In a string containing slashes, the basename is everything following the last slash.