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
Create a Pseudo Panel Data and AnalysisHello eveyone I would like to analyze the determinants of the dynamics of women's employment (15-49…
Pooled regression with interaction term for time?Dear All! I have panel data (time: 2 periods; N: 2,093) and because the Breusch and Pagan Lagrange …
Question on treatment evaluation and demographic characteristics table.Hi everyone, I am working on an assignment for a STATA beginner course, based on the journal articl…
putdocx phtestHi Statalist I am trying to export the proportional hazards statistics to a word document (that als…
Using the ipdmetan functionHi, I am trying to run a two stage individual patient data meta-analysis and I have derived treatmen…
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