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]

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/


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