I have a string variable, which varies in length from 3 to 4 characters.
For each case that the last character of this variable variable is 0, I would like to change so that it ends in 9.
Any help with this would be fantastic, thank you.
Related Posts with Changing last character in string variable
DID with Two Separate CohortsHi there, I am new to STATALIST so my apologies if this question has already been addressed. I am u…
making graphs into APA 7th formatHi again, Does anyone know how to edit/export graphs such as plots into APA 7th formatting? The Grap…
LR intervalDoes anyone have code for estimating the interval Likelihood ratio? I have done some analyses using …
ranking and creating a dummy variable based on quantilesHello, I have this panel data. Array I want to rank the variable (REV_CH_mean5) within each indust…
compare entire columns in a dta file and create a new column based on the resultHello all, Can some help me with this. I have few columns to compare and generate a new column base…
Subscribe to:
Post Comments (Atom)
0 Response to Changing last character in string variable
Post a Comment