Capitalize the first letter of a character string.
spocc_capwords(s, strict = FALSE, onlyfirst = FALSE)
A character string
Should the algorithm be strict about capitalizing. Defaults to FALSE.
Capitalize only first word, lowercase all others. Useful for
## Not run:
spocc_capwords(c('using AIC for model selection'))
spocc_capwords(c('using AIC for model selection'), strict=TRUE)
## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.