file_ext: Obtain file extention from path

View source: R/download.R

file_extR Documentation

Obtain file extention from path

Description

Returns anything after (and including) the first . found in basename of path

Usage

file_ext(url, last_dot_only = FALSE)

Arguments

url

Path to get extension for

last_dot_only

if TRUE use last . to determine extension

Value

File extension for given path


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.