I need to pick persons A & B whose position include exact "Independent" from the list as follow
Directors Position
A Non-executive Independent Director
B Independent Non-executive Director
C Non-executive Director
D Non-executive Chairman of Board
E Non-Independent Non-executive Director
How can I do that? Because if I use the command
Code:
gen InD=regexm(CurrentPosition,"Independent")
Thank you
0 Response to How can I select observations containing specific words?
Post a Comment