Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: adding spcial character(" ") in a string


From   daniel klein <klein.daniel.81@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: adding spcial character(" ") in a string
Date   Thu, 26 Jul 2012 00:33:28 +0200

Sorry for the inconvenience, I was in a hurry. When I first tried to
use option -clean- it did not work for me -- I must have made a
mistake there. So I came up with the loop, which I will not explain,
because it is neither necessary nor is it convenient. Your solution is
(much) better.

Using the same names for variables and locals is merely lack of
creativity in shortage of time.

Best
Daniel

-- 
you are right. It actually works but the text are all over. I actually
found another way of doing although I picked up half od Daniel's code.
I pulled away myself from using daniel's code because I couldn't
understand bottom half of his code esp the loops. And also, the
macronames identical to varnames make it follow even difficult. Anyone
willing to break down Daniel's loop will be highly appreciated. The
code I used was..
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index