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
Fixed effects dummies in OLS regression vs FE estimator (xtreg, fe)This is a very basic question but after doing some research I could not find the answer to this. I k…
FormatHello All, I have a difficulty formating my year variable in my data set. The data set is a huge ta…
Using NetCDF data in StataHello, I am trying to use data stored in the NetCDF format (.nc file extension) for a project I am …
Dependent variable lagsHello How to create a dependent variable lags in the data panel (in stata)? …
export excelHi STATALIST, The following program runs fine when there is at least on observation in each sheet. …
Subscribe to:
Post Comments (Atom)
0 Response to Macros with strings and ampersands
Post a Comment