Dear Stata Forum,
I was teaching my Stata class last Thursday, and I tried to remove the strange diamond question mark symbol in the variable C3:
In the past, the following command has always worked: replace C3 = ustrfix(C3, "")
However, that day, the ustrfix command did NOT work. I'm not sure why, since Stata18 was installed on the school computer (and also on my home laptop, where ustrfix works). During class, I also tried replace C3 = subinstr(C3, "�", "", .), but it did not work either. Can anyone suggest an alternative Stata command to remove the strange symbol when cleaning the data?
Thanks so much,
Michelle
I was teaching my Stata class last Thursday, and I tried to remove the strange diamond question mark symbol in the variable C3:
In the past, the following command has always worked: replace C3 = ustrfix(C3, "")
However, that day, the ustrfix command did NOT work. I'm not sure why, since Stata18 was installed on the school computer (and also on my home laptop, where ustrfix works). During class, I also tried replace C3 = subinstr(C3, "�", "", .), but it did not work either. Can anyone suggest an alternative Stata command to remove the strange symbol when cleaning the data?
Thanks so much,
Michelle

Comment