[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: string function "Sentence case"
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
st: RE: string function "Sentence case"
Date
Wed, 4 Jun 2008 17:59:53 +0100
You don't need one (much).
upper(substr(<string>,1,1)) + substr(<string>,2,.)
Andrea Bennett
Is there a string function to change a string to sentence case? E.g
"foreign labor integration" --> "Foreign labor integration"
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |