Quotes Within Quotes Stata
Since there is no escape character for normal characters but for example the regular expression anchors or i can t do as this is the.
Quotes within quotes stata. It doesn t like stata s compound quotes and my only workaround so far is to replace each quote in the string with char 147. A major point here is that what display shows is always stripped of quotation marks when those marks are used as delimiters or more precisely when it looks to stata as if they are. Char 148 which seems rather overkill. I m trying to take some text from a spreadsheet that has embedded double quotes dateset 1 and convert it into a value label in another dateset 2.
Mon 20 aug 2012 17 12 25 0100 subject. You issued a command not a function. Thanks for the thorough lesson. 147 and 148 actually print the same but might not always.
Data analysis and statistical software notice. A b c think of compound double quotes as similar to parentheses. Statalist hsphsun2 harvard edu i should add to that. Date prev date next thread prev thread next date index thread index.
Compound double quote from. Not to mention that the space in double quotes is completely unnecessary. Richard herron feb 11 15 at 21 13. So it isn t the double quotes per se just the empty word they create on the first loop.
I try to match actually replace one ore more single double quotes nested within a string variable as this is typical for example some company names e g. Tobias gramlich tobias gramlich uni konstanz de wrote.