-string()- maps numbers to strings. Thus string(42) yields "42".
-word(,)- extracts words from strings. Thus the argument and the result
are both of string type.
Nick
[email protected]
Johannes Geyer
I do not know why my code did not work but I guess I did something the
function string() is not designed for. Instead I tried something
different
with word() and that works perfectly:
*
* 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/