Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upstr_to_sentence #202
Comments
This comment has been minimized.
This comment has been minimized.
stringr relies on stringi for these functions, so you'd need to get it into stringi first. cc @gagolews |
hadley
added
the
feature
label
Dec 28, 2017
This comment has been minimized.
This comment has been minimized.
Just found this in stringi @hadley |
This comment has been minimized.
This comment has been minimized.
wmayner
commented
Nov 1, 2018
I'd really like to have the functionality as well! |
This comment has been minimized.
This comment has been minimized.
@batpigandme I'm working on this for Tidyverse Developer Day. |
hadley
added
the
tidy-dev-day 🤓
label
Jan 19, 2019
hadley
closed this
in
#271
Jan 19, 2019
This comment has been minimized.
This comment has been minimized.
Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dhodge commentedDec 11, 2017
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)))
}