Hello all,
I have a list of 250+ schools and want to create a variable that takes the first letter from each word in the school name string.
For example:
If a school is named Lady Irwin School, I'd want to keep just LIS. If a school is named Cama Road English Primary School, I'd want to keep CREPS.
How should I go about doing this?
Thank you in advance!
Related Posts with Creating new variable keeping just the first letter of each word in a string
How to draw 1:2 matched dataset then double the cases?Hello Statalists, Part of my data is as follows: Code: * Example generated by -dataex-. For more i…
asdoc + xtdidregress not workingHi Statalists! I wonder if someone else have a problem using asdoc together with the new xtdidregre…
Coefficients of multinomial logit vs seperate logistic regressionsDear Statalist users, I have a question which I could not clarify in my mind: What is the relations…
Identify neighboring counties for treatment year and subsequent 2 yearsDear Stata users, I am working on a dataset of firms located in US counties for the years 2000-2018 …
Problem with implementing forward and backward linkages on stataHello, I am currently doing a research on FDI spillovers, at this point i need some help with imple…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variable keeping just the first letter of each word in a string
Post a Comment