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
2019 Canadian Stata Conference - Banff, ABOn behalf of the scientific committee, I invite you to join us in Banff, Alberta, to discover new wa…
Predicted CEF values out of sample from npregress using the local constant optionHello, I am having trouble predicting specific CEF values using --npregress-- with the local consta…
linear mixed modelsHi all, I am using linear mixed models (xtmixed) to analyse data from a randomized controlled trial.…
reshape errorany way to do a reshape wide to long if there are duplicate id's? …
pvarsoc command result ambiguosHello, I'm new to Statalist. I had a doubt regarding the result for pvarsoc command. I have a balanc…
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