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: comparing strings


From   [email protected]
To   [email protected]
Subject   st: comparing strings
Date   Tue, 06 Jul 2010 11:55:51 -0400

Hi,

I have two variables name and name1 that contain strings. How can I compare whether the strings are the same or not? For example in the same row name can be "John Smith" and name1 can be "Ray Adams" so they are not the same. Or there can be another row that both name and name1 are "Jane Gore" so they are the same.


Thank you
Margie
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index