getSuffix: Gets the suffix of a file name

View source: R/io.R

removeSuffixR Documentation

Gets the suffix of a file name

Description

Gets the suffix of a file name or the file name without the suffix.

Usage

removeSuffix(filename)

getSuffix(filename)

Arguments

filename

a filename to extract the suffix from.

Value

Returns a character with either the suffix of the file name or the file name without suffix.

Functions

  • removeSuffix: Gets and removes the suffix of a file name.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

getSuffix("example.file")
removeSuffix("example.file")

uzh/ezRun documentation built on April 24, 2024, 4:01 p.m.