rm.ext: Remove extension

View source: R/rm.ext.R

rm.extR Documentation

Remove extension

Description

Removes file extension (and path) from string

Usage

rm.ext(x)

Arguments

x

A character vector representing a file with extension

Value

The file name with extension and file path stripped off

Examples

rm.ext("C:/path/file.txt")


spatialEco documentation built on Nov. 18, 2023, 1:13 a.m.