Hi Statalisters,

I am new to Stata and encounter some problems.

I have a dataset with some string variables. For observations in a variable, I want to identify some values with specific character, present their frequency distribution, and remove them.

For example, in the variable Customer_Name, I want to identify values with character "Government" (distinguish the upper & lowercase), present the frequency of values that contain character "Government", and finally remove them.

Thanks in advance,

Chris