str_delete: str_delete

Description Usage Arguments Details References Examples

View source: R/str_delete.R

Description

Delete or remove characters from a string based on one or more patterns

Usage

1
str_delete(string, ...)

Arguments

string

atomic character vector

...

stringr-style matching modifiers

Details

Deletes all occurences of the patterns from the string using str_replace_all

References

modifiers
str_replace_all

Examples

1
str_delete( "ABC & 123", stringr::regex("\\W") )  # ABC123

lettercase documentation built on May 29, 2017, 12:28 p.m.