Code:
     +-------------------------------------------+
     |                                   country |
     |-------------------------------------------|
  1. |                                     Spain |
  2. | US / UK / Singapore / South Africa/ India |
  3. |                   Switzerland / Singapore |
  4. |                                        UK |
  5. |                                    France |
I would like to generate a variable, say multi_country, which would contain "Yes" if the variable country contains the character "/", otherwise "No". For example, the new variable multi_country will have "Yes" for observations 2 and 3; "No" for observations 1,4, and 5.

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str42 country
"Spain"                                    
"US / UK / Singapore / South Africa/ India"
"Switzerland / Singapore"                  
"UK"                                       
"France"                                   
"France / Singapore / UAE"                 
"Italy"                                    
"US"                                       
"US"                                       
"US"                                       
"US"                                       
"France / Singapore"                       
"China"                                    
"Brazil"                                   
"US"                                       
"Americas / APAC / EMEA"                   
"Mexico"                                   
"France / UK / Germany / Spain / Italy"    
"China"                                    
"Singapore"                                
end