basename

Function

ArgDescriptionType
pathExtract directory name of pathAny (required)
sepSeparator to use (default /)string
path_typeType of path (e.g. ‘windows,linux)string

Description

Return the basename of the path. For example basename(path="/foo/bar") -> “bar”