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
Help with macro lists (for a mixed logit model)Summary: I am looking for help with a macro to cycle through a list of variables in groups of two or…
qreg alternate solutions exists - retrieve solutionsHi, I am running a simple quantile (median) regression that has a dummy variable on the RHS. The y-…
a basic question about -if- programming commandI know what -if- -else- does, but what if there is a -if- but not the -else-? For example: if exp {…
Practice post - Help with macro lists (for a mixed logit model)Summary: I am looking for help with a macro to cycle through a list of variables in groups of two or…
connect paired dot in scatter plotHi there, I'm working on a descriptive scatter plot where I need to show values of two variables, X…
Subscribe to:
Post Comments (Atom)
0 Response to Changing last character in string variable
Post a Comment