Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New variable


From   Fernando Augusto Proietti <[email protected]>
To   STATA Lista Discussao <[email protected]>
Subject   st: New variable
Date   Thu, 16 Jun 2005 16:01:21 -0300

Dear all,

I have a huge data set. The ID variable is like that:

05.81-0120
25.63-0208

and so on.

I want to create a ne ID1 variable, without the "." and the "-", and
keeping the 0 before the first number:

05810120
25630208


Thanks in advance.

Fernando
begin:vcard 
n:Proietti;Fernando 
tel;fax:55-31-3248-9675
tel;work:55-31-3248-9949 / 3248-9102
x-mozilla-html:FALSE
org:Dep de Medicina Preventiva e Social - UFMG
version:2.1
email;internet:[email protected]
title:Professor Adjunto - Epidemiologia
adr;quoted-printable:;;Faculdade de Medicina - UFMG=0D=0AAv Prof Alfredo Balena, 190;Belo Horizonte;Minas Gerais;30130-100;Brasil
x-mozilla-cpt:;17392
fn:Fernando  Proietti
end:vcard



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