spatialEco (version 1.3-2)

rm.ext: 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

Run this code
# NOT RUN {
rm.ext("C:/path/file.txt")

# }

Run the code above in your browser using DataLab