Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: truncation with -word- function
From
David Kantor <kantor.d@att.net>
To
Statalist <statalist@hsphsun2.harvard.edu>
Subject
st: truncation with -word- function
Date
Fri, 16 Dec 2011 12:40:00 -0500
Hello,
I have encountered a problem with the -word- function.
Suppose zzz is a macro containing a long list of names. An expressions such as
word("`zzz'", 20)
cuts off after the 245th character of `zzz'.
Does anyone know of a way around this?
I use Stata 10.
Thanks
--David
*
* 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/