Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fast_replace

Fast escape replace


Description

Fast escape function for limited case where only one pattern provided actually matches anything

Usage

fast_replace(string, pattern, replacement, ...)

Arguments

string

a character vector where replacements are sought

pattern

Character string to be matched in the given character vector

replacement

Character string equal in length to pattern or of length one which are a replacement for matched pattern.

...

arguments to pass to gsub


mgsub

Safe, Multiple, Simultaneous String Substitution

v1.7.2
MIT + file LICENSE
Authors
Mark Ewing [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.