stringr icon indicating copy to clipboard operation
stringr copied to clipboard

Function to sanitize strings

Open jdonland opened this issue 1 year ago • 1 comments

Could stringr implement something like fedmatch::clean_strings() or lhmet/rinmetxls::str_santize() to strip or replace special characters, reserved filenames, trailing periods and spaces, weird Unicode characters, etc. from a character vector all at once?

jdonland avatar Sep 08 '24 23:09 jdonland

Although it doesn't do everything, take a look at https://github.com/tidyverse/stringr/issues/149 if you haven't already

danalvarez avatar Sep 23 '24 23:09 danalvarez

@danalvarez thanks for the pointer!

hadley avatar Oct 21 '24 21:10 hadley