- 1. Title Case Function (score: 1)
- Author: Karen_Byron@bd.com
- Date: Fri, 12 May 2006 08:51:23 -0400
- I would like a function that does the * takes a character vector as an input * converts any periods or underscores to spaces, and * returns the vector in title case, i.e. the first letter of each wor
- /archives/html/s-news/2006-05/msg00047.html (10,720 bytes)
- 2. Re: Title Case Function (score: 1)
- Author: "Dimitris Rizopoulos" <dimitris.rizopoulos@med.kuleuven.be>
- Date: Fri, 12 May 2006 15:46:57 +0200
- you can try this version: titleCase <- function(string, chng = c('.', '_'), leave.cap = FALSE){ nstr <- length(string) out <- vector("character", nstr) for(i in 1:nstr){ str <- string[i] nc <- nchar(
- /archives/html/s-news/2006-05/msg00048.html (11,332 bytes)
This search system is powered by
Namazu