[R] Finding the common portion of strings

Gabor Grothendieck ggrothendieck at gmail.com
Fri Mar 25 21:49:39 CET 2011

On Fri, Mar 25, 2011 at 4:47 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> On Fri, Mar 25, 2011 at 1:27 PM, Dennis Fisher <fisher at plessthan.com> wrote:
>> Colleagues
>> R: 2.12.2
>> OS X
>> I have a set of text objects in the form (I am showing 3 of what is more likely to be 20 or so):
>> As you can see, all contain "SOMETHINGCOMMON" and the position varies.  But, I don't know what that "SOMETHINGCOMMON" is.
>> Is there an efficient means to find the common string of characters between all of the objects?
> See:
> https://stat.ethz.ch/pipermail/r-help/2006-November/117379.html

Also there is the libstree package on omegahat but when I just tried
it it failed to build on my Windows Vista system.

Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

More information about the R-help mailing list