Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: adding spcial character(" ") in a string


From   tashi lama <ltashi32@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: adding spcial character(" ") in a string
Date   Wed, 25 Jul 2012 14:23:52 +0000

I am guessing that my two previous posts weren't clear enough for readers to respond/generate idea because I am sure there has to be a solution to this. So, I am attempting to make it as readable as possible. Here is a subset of my dataset. 
hits      date      title 
23       23jan2011   Earning Report 
41       04feb2011   Metamorphosis

I would like to use tsline and use ttext option progrmmatically as follows. Typing manually is no issue. 
tsline hits, ttext(23 23jan2011 "Earning Report" 41 04feb2011 "Metamorphosis")

I was successful in getting above command but without character(" ") inside ttext. Does someone have any idea how to do it?

Thanx 		 	   		  
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index