We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
str_split_1
It would be useful if it just returned the original empty vector.
stringr::str_split_1(character(), " ") #> Error in `stringr::str_split_1()`: #> ! `string` must be a single string, not an empty character vector.
Created on 2023-03-16 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered:
I think the existing behaviour is correct because it requires a character vector of length 1.
Sorry, something went wrong.
No branches or pull requests
It would be useful if it just returned the original empty vector.
Created on 2023-03-16 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: