I try to define a local list of strings, where some of the strings contain ampersands (&). Unfortunately, it seems the ampersand has unintendend consequences in this case. For example:
local firms "schauster & sons"
seems to define "schauster" and "sons" as seperate words instead of just one word. How can I avoid this?
Related Posts with Macros with strings and ampersands
How to solve a problem of XSMLE that requires strongly balanced panel data without missing valuesDear everyone, I'm estimating spatial panel data models using XSMLE command. This command requires …
Moving percentile rankHi Everyone, I was hoping somebody could help me with my following problem: I have an unbalanced pa…
Exporting results to excel or LaTeX after -estat impact- command following spxregressHello I run a spatial regression using spxregress and after the actual estimation I use the -estat …
Differences between command and do-fileHi, I am a beginner in Stata. Recently, I am suffering from some errors that happen only on do-file.…
New Package: respThis concerns people, who are working with the Activity Index (AI), Relative Patent Activity (RPA), …
Subscribe to:
Post Comments (Atom)
0 Response to Macros with strings and ampersands
Post a Comment