Statalist


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

st: how to refer to a quotation mark in functions


From   "Jason Ferris" <[email protected]>
To   <[email protected]>
Subject   st: how to refer to a quotation mark in functions
Date   Tue, 12 May 2009 09:04:19 +1000

I wish to find the position of a quotation mark in a item but Stata
keeps returning the message "too few quotes"

local pos=strpos("c:\",""")
display "`pos'"

I except 1 to be displayed

Jason

------------------------------------------
DISCLAIMER: This message (including any attachments) is intended solely for the addressee(s) named and may contain confidential or privileged information. 
If you are not the intended recipient, please delete it and notify the sender. 
Views expressed in this message are those of the individual sender,and are not necessarily the views of the Turning Point Alcohol and Drug Centre Inc (ABN: 17 302 055 629).  

<a href="http://www.turningpoint.org.au";>Turning Point Alcohol and Drug Centre Inc</a>

Although this message and any attachments have been scanned for viruses by 'Trend Micro InterScan' at the time of sending, 
you are advised to rescan on receipt.

The whole or parts of this email may be subject to copyright of Turning Point Alcohol and Drug Centre Inc (ABN: 17 302 055 629), and/or third parties. 
You can only re-transmit, distribute or use the material if you are authorised to do so.

Please consider the environment before printing this email or attachments.

*
*   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