verybasename: Manipulate file paths

Description Usage Arguments Examples

View source: R/str-utils.R

Description

Like basename, but removes also the file extension (i.e. everything after the first dot in a file name).

Usage

1

Arguments

path

character vector, containing path names.

Examples

1
verybasename(c("/test1/my_file.txt.bck", "/test2/another_file.txt"))

chgigot/cgmisc documentation built on May 14, 2019, 8:17 a.m.