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]
Re: st: 2 questions on function wordcount
From
Austin Nichols <[email protected]>
To
[email protected]
Subject
Re: st: 2 questions on function wordcount
Date
Thu, 3 May 2012 12:53:41 -0400
E.g.
sysuse nlsw88, clear
unab v: *
loc c `v' `v' `v'
di "`c'"
di wordcount("`c'")
di wordcount("`v'")
di `: word count `v''
di `: word count `c''
di "`: word `: word count `c'' of `c''"
On Thu, May 3, 2012 at 12:39 PM, Austin Nichols <[email protected]> wrote:
> Gregorio <[email protected]>:
> wordcount() will truncate the string at 255 characters. Instead use
> -local- tricks described at
> help extended_fcn
*
* 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/