Learn R Programming

quantable (version 0.3.6)

xxx_replace_xxx: replace patterns (vector) with replacements (vector) in string or string vector. uses gsub and perl=TRUE taken from https://stackoverflow.com/questions/26676045

Description

replace patterns (vector) with replacements (vector) in string or string vector. uses gsub and perl=TRUE taken from https://stackoverflow.com/questions/26676045

Usage

xxx_replace_xxx(string, patterns, replacements)

Arguments

string

string or vector of strings to replace in

patterns

pattern or vector of patterns to replace

replacements

replacements string, needs to have same length as replacment