Code:
+-------------------------------------------+ | country | |-------------------------------------------| 1. | Spain | 2. | US / UK / Singapore / South Africa/ India | 3. | Switzerland / Singapore | 4. | UK | 5. | France |
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
0 Response to Generate a new variable based on character ("/") of another variable
Post a Comment