Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: word count discrepancy


From   "Feiveson, Alan H. (JSC-SK311)" <alan.h.feiveson@nasa.gov>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: word count discrepancy
Date   Tue, 5 Sep 2006 10:24:38 -0500

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? 




Thanks

Al Feiveson

*
*   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/



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