Learn R Programming

stringb (version 0.1.17)

text_replace_all: replacing patterns in string

Description

replacing patterns in string

replacing patterns default

Usage

text_replace_all(string, pattern = NULL, replacement = NULL, ...)

# S3 method for default 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?