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: identifying strings that differ on one or two letters


From   Dalhia <[email protected]>
To   [email protected]
Subject   st: identifying strings that differ on one or two letters
Date   Fri, 19 Nov 2010 04:59:25 -0800 (PST)

Hello,

Is there a method in stata to identify strings that differ by just one or two letters?
For example:

comp_name

Jayanthi chemicals
Jayanth chemicals
Jay chemicals

So here the first two should be identified since they differ by only one letter, but not the last one since it differs by 4 letters? Is there a way to do this in stata?

thanks. I appreciate your help.
dalhia




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