-tokenize- is indeed a good low-level tool. 
As your problem involves several variables, 
-split- would presumably save you some programming: 
with -tokenize- I think you would need to 
loop over observations as well as variables 
to do what you want. 
Nick 
[email protected] 
Michael S. Hanson
 
> On Jun 29, 2005, at 7:43 PM, David E Moore wrote:
> 
> > Have you considered -tokenize- using "," as the parse character?
> 
> 	Ah: I was not familiar with the -parse- option.  With 
> it, -tokenize- 
> works like a charm for my problem.  Thanks!
*
*   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/