Lee Chuntao
>
> I have a variable of the following style:
>
> variable
> name1/age1/salary1
> name2/age2/salary2
> name3/age3/salary3
> name4/age4/salary4
>
> I want to generate 4 new variables, say, name age and salary
>
> can you give me some advice?
I am not clear on what the problem is. If you have
a single composite string variable, then check
out -split- on SSC.
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/