[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: how to add specific letter to string macro
Dear Statalist users,
Suppose that I have a local macro
loc X = " a b c"
I want to create a local macro
loc WX="wa wb wc"
The problem is that I want to automate the process and write a code that
will create `WX' based on string stored in `X'.
Can anyone help me with this?
Thanks,
Oleksandr Shepotylo.
*
* 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/