[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: -tknz- on SSC
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.
* For searches and help try: