text_replace_all: replacing patterns in string

Description Usage Arguments

View source: R/text_replace.R

Description

replacing patterns in string

replacing patterns default

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
text_replace_all(string, pattern = NULL, replacement = NULL, ...)

## Default S3 method:
text_replace_all(
  string,
  pattern = NULL,
  replacement = NULL,
  recycle = FALSE,
  ...
)

Arguments

string

text to be replaced

pattern

regex to look for

replacement

replacement for pattern found

...

further parameter passed through to gsub

recycle

should arguments be recycled if lengths do not match?


stringb documentation built on Jan. 26, 2021, 1:07 a.m.