replaceFileExtension: Replace File Name Extension

View source: R/replaceFileExtension.R

replaceFileExtensionR Documentation

Replace File Name Extension

Description

Replace the file name extension in a file name or file path

Usage

replaceFileExtension(file, extension)

Arguments

file

file name or full path to a file

extension

new file name extension (including the dot, e.g. ".txt")

Examples

replaceFileExtension(file = "run.bat", ".txt")

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.