extension: Get file extension from file name

View source: R/paths.R

extensionR Documentation

Get file extension from file name

Description

Get file extension from file name

Usage

extension(path, dot = TRUE)

Arguments

path

string or vector of strings of file names

dot

logical whether to include dot with extension (defaults to TRUE) No dot if extension is missing

Value

string or vector of string of file extensions


fcocquemas/hfty.helpers documentation built on Feb. 13, 2023, 7:25 a.m.