Skip to contents

Removes source labels recognized by the package and copy markers such as (1) before the extension. The extension and other parenthetical text are retained.

Usage

ztCleanName(name)

Arguments

name

A filename.

Value

The cleaned filename.

Examples

ztCleanName("Dynamics (1).pdf")
#> [1] "Dynamics.pdf"
ztCleanName("Course Notes (SEG Course).pdf")
#> [1] "Course Notes (SEG Course).pdf"