Thanks to Kit Baum, a new Mata function called
-invtokens()- is available from the SSC Archive.
-invtokens()- is the "inverse" of official Mata's
tokens(). It returns the elements of a string
rowvector joined together into a single string where
the individual elements are separated by blanks.
To install the package, type
. ssc install mf_invtokens
After installation, type
. help mata invtokens()
or
. help mf_invtokens
to view the helpfile.
Cheers,
ben
Mata rules!
*
* 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/