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")

packDAMipd documentation built on May 29, 2024, 3:18 a.m.