[R-sig-eco] common subsequence of two strings

yangwenjing yangwenjing at ibcas.ac.cn
Thu Apr 26 10:45:09 CEST 2012


Hi Guys, 

I would like to find the longest common subsequence of two strings. For instance, "abcde" and "dbce",the common part of these two strings will be returned as "bc". Is there any function to do this?

Thanks a lot.

Yang



More information about the R-sig-ecology mailing list