file_prefix: Working with filenames

View source: R/file.R

file_prefixR Documentation

Working with filenames

Description

Return the part of the file before the final period (i.e., the file extension). The file does not have to exist

Usage

file_prefix(filename)

file_ext(filename)

Arguments

filename

a string representing a filename

Value

filename prefix or extension

Functions

  • file_ext: Return the part of the file before the final period (i.e., the file extension). The file does not have to exist


stackcon/rngt documentation built on June 17, 2022, 5:29 p.m.