Skip to contents

This helper simply extracts the basename of a path and removes the extension, e.g. foo/bar.txt is shortened to bar.

Usage

jst_get_file_name(file_path)

Arguments

file_path

A path to a file

Value

A character vector, containing the basename of the file without an extension.