Skip to content
Prev 31998 / 398506 Next

Is there a simple method of changing text into 'Proper Ca se'

Yes and no. Given your response it appears that "Proper Case" is not a term
that everyone uses. In Excel there is a function "Proper" which in essence
changes "this line into something like this" into "This Line Into Something
Like This."

My look at casefold seesm to be that is is a wrapper of two functions to
change text into either Lower or Upper case.So my question is about how do
you just capitalise the first letter in each word.

Thanks for your response.

Tom

-----Original Message-----
From: Spencer Graves [mailto:spencer.graves at PDF.COM] 
Sent: Wednesday, 14 May 2003 12:51 PM
To: Mulholland, Tom
Cc: ' (r-help at stat.math.ethz.ch)'
Subject: Re: [R] Is there a simple method of changing text into 'Proper
Case'


It's not obvious to me what you are asking, but I'm guessing that 
"casefold" might help.

hth.  spencer graves
Mulholland, Tom wrote: