Common sequences in two strings [closed]

RealGrit

New Member
I am looking to find all common sequences of works between two strings. For example:String A: A, B, 1, 2, 3, 4, 5, XString B: 1, 2, 3, 4, A, B, CThe common sequences here would be A, B & 1, 2, 3, 4I am looking for a Java solution which will do this. Thank you very much
 
Top