Hello there,
I would like to eliminate a part of a string starting from a position recorded in another variable for 2000 characters backward. I can't use dataex as the strings are very long.
To give you an example let's say I want to eliminate the word BB (hence appearing at position 6) from the string text and the 3 characters before
text: AAAA BBC D
Bpos: 6
Wanted: AAC D
Thank you,
Ylenia
Related Posts with Eliminate a part of a string
Best practice when using 'format' while maintaining precision of doubleI added set type double at the beginning of my code to implement the double-precision for all newly …
Troubleshooting - Temp file does not find a variableGood evening everyone. I have the following code Code: use "Dataset.dta", replace drop if 5*365&g…
Coefs. not Signif. but Improving Moment Conditions | xtdpdgmmHi, I'm currently modeling the public-private wage gap in Brazil. The work revolves around estimati…
TABSTAT: How to group my summary statistics?Hello together. I need help and search for a simple way to "group" my summary statistics. My curre…
npregress kernel regression using panel dataHello, I am exploring npregress kernel command for a panel data (Country year). I was reading a work…
Subscribe to:
Post Comments (Atom)
0 Response to Eliminate a part of a string
Post a Comment