Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: truncation with -word- function

From   David Kantor <>
To   Statalist <>
Subject   st: truncation with -word- function
Date   Fri, 16 Dec 2011 12:40:00 -0500

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.


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index