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
2
  
  str_delete( "ABC & 123", stringr::regex("\\W") )  # ABC123

decisionpatterns/lettercase documentation built on May 23, 2020, 4:39 p.m.