Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to sanitize strings #574

Closed
jdonland opened this issue Sep 8, 2024 · 2 comments
Closed

Function to sanitize strings #574

jdonland opened this issue Sep 8, 2024 · 2 comments

Comments

@jdonland
Copy link

jdonland commented Sep 8, 2024

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?

@danalvarez
Copy link

Although it doesn't do everything, take a look at #149 if you haven't already

@hadley
Copy link
Member

hadley commented Oct 21, 2024

@danalvarez thanks for the pointer!

@hadley hadley closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants