Hi everyone,
I would like to know how to delete special characters in string variables.
I used chartab from SSC, but some of special characters remained there. Here is my code:
And here is the ex-post result:
I should have a "O" instead of a TM sign for some description "value" labels. Everything should be kept in capital letters, please.
I should have a "E" instead of "".
Thank you in advance for your help.
Best,
Michael
I would like to know how to delete special characters in string variables.
I used chartab from SSC, but some of special characters remained there. Here is my code:
Code:
chartab description, noascii chartab model, noascii
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str23 description str25 model "FERROSITE" "C-ELYSEE ECO GL" "FERROSITE" "C-ELYSEE ECO-GLV" "FERROSITE" "CITR™EN C-ELYSE ECO" "FERROSITE" "CITR™EN C-ELYSE ECO" "FERROSITE" "CITR™EN C-ELYSE ECO-G" end
I should have a "E" instead of "".
Thank you in advance for your help.
Best,
Michael
Comment