Dear Statalis Members,
I have a variable called region (please see below). It is string with labels containing special characters.
I would like to get gird of these special characters. I have used the "
replace region= subinstr(region, "`=char(160)'", "", .) "
However, it says (0 real changes made).
Can you please help me?
Thanks a lot!!
I have a variable called region (please see below). It is string with labels containing special characters.
I would like to get gird of these special characters. I have used the "
replace region= subinstr(region, "`=char(160)'", "", .) "
However, it says (0 real changes made).
Can you please help me?
Thanks a lot!!
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str14 region int var1 "cabinda" 571 "zaire" 740 "u�ge" 818 "luanda" 1255 "cuanza norte" 647 "cuanza sul" 753 "malanje" 808 "lunda norte" 792 "benguela" 870 "huambo" 951 "bi�" 834 "moxico" 559 "cuando cubango" 659 "namibe" 787 "hu�la" 931 "cunene" 858 "lunda sul" 901 "bengo" 588 end
Comment