Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: "smart programmers do use them..."


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: "smart programmers do use them..."
Date   Sat, 31 Jan 2009 12:14:46 -0500

Sergiy--
I've also been bitten by left single quotes on many occasions, and
usually use :subinstr for one string or -filefilter- for one file to
replace them with safer similar-looking characters higher up in the
ASCII set.  Of course, if one is processing a string option in a
program, the unmatched left single quote never shows up, but reading
with -file-, you can run into virtually anything.

On Sat, Jan 31, 2009 at 10:25 AM, David Elliott <[email protected]> wrote:
> Just wanted you to know someone made it to the bottom.
>

> Sergiy:
No news so far and it seems that "smart programmers" would indeed
prefer to always use compound quotes and be in fact `"smart
programmers"'. But how about this?

===========================
  . local a "first`=char(96)'second"

  . display `"`a'"'
  first
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index