remove_strings: Returns a character vector with the string patterns within...

Description Usage Arguments Examples

View source: R/excelutilsr.R

Description

Uses stri_detect_regex.

Usage

1
remove_strings(c_str, expunge, ignore_case = FALSE)

Arguments

c_str

character vector

expunge

character vector of strings to be removed

ignore_case

logical indication whether or not to be case specific.

Examples

1
2
3
4
strngs <- c("abc", "d", "E", "Fh")
expunge <- c("abc", "D", "E")
remove_strings(strngs, expunge, ignore_case = TRUE)
remove_strings(strngs, expunge, ignore_case = FALSE)

rmsharp/excelutilsr documentation built on May 27, 2019, 9:33 a.m.