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
[email protected]
*
* 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/