str_delete: str_delete

Description Usage Arguments Details References Examples

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


Search within the lettercase package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.