Assuming your variable is called "name":
replace name=lower(name)
HTH,
Philipp
Nikolaos A. Patsopoulos wrote:
Hi,
how can I change all capital letters to normal ones in a string variable?
example:
"John Doe" must be "john doe"
Thanks in advance,
Nikos
*
* 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/