Hi all,
I have some addresses separated by ";" in the following format:
“ Univ London Imperial Coll Sci Technol & Med, Fujitsu Parallel Comp Res Ctr, London SW7 2BZ, England; Coventry Univ, Sch Math & Informat Sci, Coventry CV1 5FB, W Midlands, England; City Univ Hong Kong, Dept Mfg Engn & Engn, Kowloon, Peoples R China”
How can I extract the address only in People R China, that is "City Univ Hong Kong, Dept Mfg Engn & Engn, Kowloon, Peoples R China"?
Of course, the string with "People R China" could appear in the first string, in the middle, and in the last.
Many thanks!
Related Posts with How can I extract the one particular strings from several strings?
Simple by() and 'if' questionI'm working with some historical data on NFL players. I want to create a dummy variable indicating w…
cond() functionHi all! I have the following dilemma. I would like to create variables such that: if a local takes…
Need for a permutation test ?Hi, STATA people, I have 12000 observation. I want to randomly assign a fake treatment value of 1 t…
Suggestion for graphing regression coefficientsI have a variable with six categories that I've entered into a regression model with a set of covari…
Change of variable in one columnHi Stata users, I am trying to generate a variable to tell me when a change in values has occurred …
Subscribe to:
Post Comments (Atom)
0 Response to How can I extract the one particular strings from several strings?
Post a Comment