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
proportion of sales in each group accounted for by typeConsider the following example data identifier type sales unit 00.00.01 1 400 kg 00.00.01 0 5…
converting unique string variables from two datasets that are characters and numbers to numeric variableHello, I currently have two datasets with a variable that is called scrambled_id. Scramble_id repre…
Hot to make Autocorrelation Test in STATA for Panel DataDear all, I have been strugling with autocorrealtion test for my STATA project. My study contains …
Data cleaning: Select all that applyHi! I have a Qualtrics survey with several questions that have "select all that apply" options. I wa…
Endogeneity in Dynamic Tobit modelDear Statalisters, My panel data set contains T=6 observations for N=145 different countries (balan…
Subscribe to:
Post Comments (Atom)
0 Response to Removing a single character from a string
Post a Comment