Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: How to drop a repeated word in different label variables


From   Alice Guerra <[email protected]>
To   [email protected]
Subject   st: How to drop a repeated word in different label variables
Date   Fri, 09 Aug 2013 12:59:23 +0200

Dear Statalists,

in my dataset, I have different variables whose labels have the same initial words (Average Speed), as follows:

x1 "Average Speed car 1"
x2 "Average Speed car 2"
x3 "Average Speed car 3"

I would like to drop "Average Speed" from all the variables labels. The result I would like to reach is as follows:

x1 "car 1"
x2 "car 2"
x3 "car 3"

Any suggestion will be very helpful.

Thank you in advance for your time

Alice Guerra
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index