Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -tknz- on SSC


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -tknz- on SSC
Date   Thu, 11 Jul 2002 16:47:33 +0100

As promised yesterday, and thanks to Kit Baum, 
-tknz- is now available on SSC. To install, 
use -ssc- or the equivalent. 

-tknz- is a very small Stata programmers' command, 
whose only possible claim to merit is that it 
documents one approach to a problem with local 
macros which bites from time to time. 

In more technical language: 

-tknz- tokenizes string into tokens, storing the results in the local
macros stub1, stub2, etc. Tokens are determined based on the parsing
characters pchars, which defaults to a space if not specified.
Occasionally this is useful when dealing simultaneously with
two or more sets of tokenized local macros.

Stata 6 is required. 

The name comes from striking the vowels from 
-tokenize- a word with the interesting consonant-vowel 
pattern of cvcvcvcv. 

Nick
n.j.cox@durham.ac.uk

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