grapes-reall-grapes: Replace matched patterns in a string

Description Usage Arguments Details Value Examples

Description

Replace matched patterns in a string

Usage

1
x %reall% y.z

Arguments

x

A character vector

y.z

A vector of two string specifying pattern for match and replace

Details

This function is a pipe version of stringr::str_replace_all

Value

A character vector

Examples

1
'totoro12_13' %reall% c('[0-9]+', 'to')

GuillaumePressiat/stringfix documentation built on Dec. 25, 2021, 12:24 a.m.