Dear statlisters
I have this variable:
Var01
--------
23012005
17022005
.
.
.
i'd like this variables:
var02 var03 var04
------- -------- ----------
23 01 2005
17 02 2005
. . .
. . .
How can i do?
You do not say whether -Var01- is numeric or string. However, numeric
variables can be converted to string using the -string()- function, strings
can be converted to numeric using the -real()- function, and strings can be
split into substrings using the -substr()- function. In Stata, type -whelp
functions- to find more about functions.