Hello,
I am interested in removing the third character from a variable that looks like this:
id
011003160514
011009160515
011013100002
011019122486
011027160517
so that the variable instead looks like this:
id
01003160514
01009160515
01013100002
01019122486
01027160517
Any tips are appreciated, thank you.
Related Posts with Removing a single character from a string
Forming portfolios and tracking their performanceDear Statalist members, I am new to Stata and would appreciate any help/insights you could give me,…
Creating 1, 3, 6 months cumulative returns and volatility from daily price dataI have a panel data which includes daily prices of stocks and daily returns of stocks for many firms…
Stratified Random SamplingHello, I am using STATA 14. Currently I am working with a dataset with 471 observations where I have…
population attributable fraction using clogithello all, does anyone know if PAF can be calculated after using clogit? last I heard, it can only b…
HC2 HC3 standard errors with clustersDear all I have one question regarding robust standard errors with the command regress. Does it make…
Subscribe to:
Post Comments (Atom)
0 Response to Removing a single character from a string
Post a Comment