I've tried this and it works as I hoped!
Many thanks,
Andrea
On Jun 4, 2008, at 6:59 PM, Nick Cox wrote:
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/
*
* 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/