How can I remove from a STRING VARIABLE all characters that are not part of a predefined list? For example, the predefined list contains the characters 1, 2, 3, A, B, and C. If the STRING is "12A", it does not change; but if it is "14A", it will change to "1A" because "4" is not in the list. In short, I do not want to define the characters to delete but the characters to keep. Thanks
Related Posts with How to remove all characters that are not part of a predefined list?
How to 'zoom' in on the central area of a graph, after mcaI am using Stata 15.1 I would like to create a secondary graph that focuses in on the output of a jo…
Control for Industry and lagged dependant variableHello, I'm doing my master thesis and I'm using a multitple linear regression. I'm regressing CSR pe…
McKelvey-Zavoina R2 Multilevel Model (Random Effects)Hi, I am estimating a random effects logit model with panel data and I want to calculate McKelvey-Za…
Estimating a multivariate Tobit with endogenous covariatesHey everyone! I'm trying to estimate an unrestricted system of two equations where both endogenous …
Bold headings in forestplot appear as {bf:Heading}Hi everyone, Similar to a previous question, I am trying to edit the formatting of headings created…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove all characters that are not part of a predefined list?
Post a Comment