wdSearchString: Checks if a string is contained in a Word document.

Description Usage Arguments Value Examples

View source: R/addons.R

Description

This function checks if a string in contained in a Word document.

Usage

1
wdSearchString(find = "", wdapp = .R2wd, warn = TRUE)

Arguments

find

A string.

Value

TRUE if string is found, FALSE if not.

Examples

1
2
3
4
5
file <- system.file("inst/template.docx", package = "R2wdaddons")
wdGet2(file)

# does the search string exist?
wdSearchString("[placeholder 1]")

markheckmann/R2wdaddons documentation built on Sept. 13, 2019, 8:40 a.m.