Remove matched patterns in a string

x %rmall% y

Arguments

x

A character vector

y

Character string or pattern to remove

Value

A character vector

Details

This function is a pipe version of stringr::str_remove_all

Examples

'totoro' %rmall% 'to'
#> [1] "ro"