Learn R Programming

cleanEHR (version 1.0)

extract_file_origin: Extract the original file name from a path and file removing all the suffixes.

Description

Extract the original file name from a path and file removing all the suffixes.

Usage

extract_file_origin(pathfile, removestr = ".xml")

Arguments

pathfile

a particular file name which may have a suffix

removestr

last bit from the original filename

Value

string