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)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.