get_extension_file: Function to get extension of a file name

View source: R/help_parameter_estimation_functions.R

get_extension_fileR Documentation

Function to get extension of a file name

Description

Function to get extension of a file name

Usage

get_extension_file(filename)

Arguments

filename

name of a file

Details

if there is no "." character returns error else returns last characters those after string split using "."

Value

the extension

Examples

get_extension_file("data.txt")

sheejamk/packDAMipd documentation built on March 29, 2024, 7:41 p.m.