-
Notifications
You must be signed in to change notification settings - Fork 189
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
str_to_sentence #202
Labels
feature
a feature request or enhancement
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
Comments
stringr relies on stringi for these functions, so you'd need to get it into stringi first. cc @gagolews |
Just found this in stringi @hadley |
I'd really like to have the functionality as well! |
@batpigandme I'm working on this for Tidyverse Developer Day. |
Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature
a feature request or enhancement
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
Hi, could we please have a function that converts a string to sentence case. Some code below with my attempt at this..
str_to_sentence <- function(x) {
paste0(str_to_upper(str_sub(x, 1, 1)), str_to_lower(str_sub(x, 2)))
}
The text was updated successfully, but these errors were encountered: