rm.extension: Remove file extension

Description Usage Arguments Value Author(s)

View source: R/extensions.R

Description

Remove file extension from a character vector.

Usage

1
rm.extension(file, digits = 3L)

Arguments

file

Character vector. A vector with one or more characters to get extension removed.

digits

Scalar integer. Number of characteres in the extension (after the last file dot). If NULL, it will automatically be counted as the last characters after the dot.

Value

Strings with no extension (file names without extension).

Author(s)

CainĂ£ Max Couto da Silva


cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.