replace.token: To replace tokens in documents (e.g. calibration certificate...

Description Usage Arguments Value Author(s)

View source: R/replace-token-function.R

Description

To replace tokens in in documents (e.g. calibration certificate templates) with valid input - typically generated by the software. The modified text is for Latex typesetting. Sample call:

txt <- "jsjdksfkd TOKEN.CERTDATE jsfhjhfjkhjfadsk safjsfkf"

txt <- replace.token(txt,"TOKEN.CERTDATE","December 24, 1999")

Usage

1
txt <- replace.token(txt,"TOKEN.CERTDATE","December 24, 1999")

Arguments

TOKEN.ID

(e.g. "TOKEN.XYZ").

Replace.auto

(e.g. "").

Replace.manual

as an alternative (set to NULL).

Value

text (typically an entire document with many lines).

Author(s)

Claus E. Andersen


claus-e-andersen/clanTools documentation built on Oct. 23, 2020, 7:59 a.m.