Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to split a variable?

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.

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index