I am trying to destring a variable which occasionally contains the backtick ` symbol. I am just not being able to make it work.
Here is a trivial data example:
Here are all the destring commands I have tried:
They all scream:
What am I doing wrong?
Here is a trivial data example:
Code:
clear input str12 mobile_no1 "`7541929932" end
Code:
destring mobile_no1, replace ignore("`")
destring mobile_no1, replace ignore("\`")
destring mobile_no1, replace ignore("`=char(96)'")
destring mobile_no1, replace ignore(`"`"')
destring mobile_no1, replace ignore(`"\`"')
destring mobile_no1, replace ignore(`"`=char(96)'"')
Code:
too few quotes r(132);

Comment