strip_ext: Strip file extensions

Description Usage Arguments

Description

Strips the extension (or an arbitrary tag) from a file name.

Usage

1
  strip_ext(file, sep = "\.", level = 0)

Arguments

file

The file name(s).

sep

specifies the seperator character (default ".").

level

How many extensions should be stripped. The default (0) strips all, 1 strips the last one, 2 strips the last two, and so on.


gschofl/ncbi documentation built on May 17, 2019, 8:53 a.m.