I would like to display a left-single-quote character, i.e. ` . I know this can be done trivially with
However, this is part of a larger program where other strings are also evaluated, some of which contain double-quote characters. As a result, the enclosing quotes must be Stata's compound quotes. However, this does not work correctly:
Nor does escaping out the forward quote work correctly:
The problem seems to be the closing compound quotes immediately following the left-single-quote. For instance, if there were a space in between:
Visually, this looks correct (since the space is invisible), but does not solve my programming problem wherein I cannot have the space being inserted. Ideas?
Code:
dis "`"
Code:
dis `"`"'
Code:
dis `"\`"'
Code:
dis `"\` "'
Comment