|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: how to split a variable?
From
[email protected]
To
[email protected]
Subject
st: how to split a variable?
Date
Tue, 06 Mar 2007 16:57:45 -0800
I have a string variable with 6 characters wide. The first four characters are
household numbbers, and the last two are the individual members in a household.
I want two variables, namely, the household and the individual. Eventually, I
want to make them numerical. So, being string variable isn't important.
Yu-Jin
*
* 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |