spatialEco (version 2.0-2)

rm.ext: Remove extension

Description

Removes file extension (and path) from string

Usage

rm.ext(x)

Value

The file name with extension and file path stripped off

Arguments

x

A character vector representing a file with extension

Examples

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

Run the code above in your browser using DataLab