Dear STATAlisters,
I have a column of text, which also contains number(s). It has some peculiarities. First, the number’s length can vary from 1 to 5 digits. Second, the number can be all numeric or alphanumeri, but if it is alphanumeric, it usually has alphabets in the first or last place. Third, the text can contain more than one number.
I tried splitting the text using space as delimiter but it resulted in more than 100 variables as the text can be long for some observations.
How should I tackle such issue? Any guidance will be much much appreciated.
Thanks.
Lg Mg
Related Posts with Extract alphanumeric ids from text
graph bar with several categorical variableshi stata users i would like to do this graph in stata; it's about different services and with a lik…
How to get controls selected for the variables of interest using lasso for inferenceI run a lasso for inference model using double selection: dsregress depvar i.variable_of_interest1 …
How to find value for upper adjacent value in boxplot?I would like to know the value of the upper adjacent value in a boxplot I have, so that I can exclud…
The problem about birthweightHi, I think I need your help. I have a dataset with more than 100 000 newborns, need to figure out …
pairwise combination.Dear All, I find this question here (https://bbs.pinggu.org/thread-7317333-1-1.html). Suppose that t…
Subscribe to:
Post Comments (Atom)
0 Response to Extract alphanumeric ids from text
Post a Comment