Hi Everyone. Started using Stata a few weeks ago and now I am addicted! I am currently trying run the following command:
destring Strgvar, gen(Strgvar1) ignore(` - _ , ')
but getting "too few quotes" as a response. I even tried to put all the characters to be ignored in quotes but it still returned the same error.
With the same command also, I noticed that numbers that have a hyphen between them e.g. "10-1" are eventually not destringed. I am using Stata 15. How do I fix these issues?
destring Strgvar, gen(Strgvar1) ignore(` - _ , ')
but getting "too few quotes" as a response. I even tried to put all the characters to be ignored in quotes but it still returned the same error.
With the same command also, I noticed that numbers that have a hyphen between them e.g. "10-1" are eventually not destringed. I am using Stata 15. How do I fix these issues?
Comment