Skip to contents

Remove File Name Extension

Usage

removeExtension(x)

Arguments

x

vector of character

Examples

removeExtension("example.R")
#> [1] "example"
removeExtension("any/path/example.txt")
#> [1] "any/path/example"