At 10:24 AM 9/5/2006, Feiveson, Alan H. (JSC-SK311) wrote:
Hello - It appears that the word count local function is giving a value
one too high. For example
. local ttt "aaa bbb ccc"
. local nt: word count of `ttt'
. di `nt'
4
I have Stata 9.2 Intercooled for Windows - born 8/28/2006
Have I overlooked something?
Yes. The "of" should not be in there - it is being counted as a word.
*
* 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/