Adapt nominal input

corename(x)

Arguments

x

character vector of file names

Value

character vector of corenames (without extension)

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org

Examples

corename(c("x.csv", "y.xls"))
#> [1] "x" "y"