pmx_get_extension: Get file extension

View source: R/pmx_utils_nonmem_reader.R

pmx_get_extensionR Documentation

Get file extension

Description

Extract file extension from the filename string.

Usage

pmx_get_extension(x, dot = TRUE)

Arguments

x

A string or vector of strings containing the filenames with the extension.

dot

Logical, if 'TRUE' the returned value will contain the dot (e.g '.mod') else only the extension itself will be returned (e.g. 'mod').

Value

A string or vector of string of the file(s) extension.


ggPMX documentation built on June 18, 2022, 1:05 a.m.