Good morning,
I need to find the first instance of [0-9] in a string. I tested the following and it works:
moss ID, match("([0-9])") regex
However ID is often a long string and the data set is extremely large. Since all I need is _pos1 is there a more efficient way of doing this?
Thanks.
ID
0 0 1 2 Hello 2
2 hi 3 2
my name
33 12
there
Related Posts with More efficient way to moss p_name, match("([0-9])") regex in a very large dataset?
Problem with time series: repeated time values within panelHi, I want to create a time series variable, but when I enter the commend tsset date, I receive the …
extract data from excel in loopDear stata experts, I would like to extract data from an excel spreadsheet regularly, e.g. cell (B4…
Create list of variables w/ different redaction patterns & dropping specific redacted variables based on other non-redacted varsHello, disclaimer: dataset contains PHI therefore I have recreated a replica with substituted varia…
Cox Proportional Hazards Model with multiple failure events and panel dataI would like to use a Cox Proportional Hazards Model to estimate the hazard rate of an individual in…
granger causality_second timeHello everyone I tried many times to run granger causality test but i got HTML Code: repeated time…
Subscribe to:
Post Comments (Atom)
0 Response to More efficient way to moss p_name, match("([0-9])") regex in a very large dataset?
Post a Comment