Hello Mr Mrs Help
I have a variable called bvid. It is in a form of either abxxxxxxxx or xxxxxxxxxx (x represents numbers).
I would like to delete the first two letters if the variable is in a form of abxxxxxxx, and I would like to keep those bvid which are already in the form of xxxxxx intact. The two letters are not necessarily "ab", it can be other letters.
Thanks
Related Posts with How to delete the first two letters from a string variable?
Regression insignificant after adding industry fixed effectsHello, I am new to this forum and i am currently writing a MSc thesis for finance. I am researching…
Dropping string observations starting with a numberHi. I have the following data and want to delete all observations where the Product starts with a nu…
How to convert date variable to year group?I am given a list of date variables in dd/mm/yy and I would like to sort the variables out in the fo…
I got different result from xtreg and eventddHello, I have unbalanced panel data, the DV is shortage, and the Independent variable civica_status …
Using omega squared after regressionDear Forum, Can I use omega squared after regression to determine effect size if my independent vari…
Subscribe to:
Post Comments (Atom)
0 Response to How to delete the first two letters from a string variable?
Post a Comment