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
error in exporting graphsDear all, I have a problem with this code, because the first graph export goes well but the second t…
simplified codeI am not sure whether the following code works best for the purpose. Based on my data, it takes arou…
Data import problemI have a problem in import the data set into STATA version 14. My data set has a sample value around…
Multiple marginal effects with nehurdle commandI am using the community contributed nehurdle command in Stata12 to run a hurdle model. I want to ge…
Complex conditions/generationDear all, I am using the following data with permno for all the different companies and the dummy f…
Subscribe to:
Post Comments (Atom)
0 Response to Eliminate a part of a string
Post a Comment