fnExtension: Change file name extension

Description Usage Arguments Value Examples

View source: R/fnExtension.R

Description

Very simple but often applicable function to change the file name extension (from say file.lst to file.mod)

Usage

1
fnExtension(fn, ext)

Arguments

fn

file name

ext

new file name extension

Value

A text string

Examples

1
2
fnExtension("file.lst",".mod")
fnExtension("file.lst","")

NMdata documentation built on Aug. 10, 2021, 1:06 a.m.