I have to check, if String Array test2[] contains a value of test1[]. How to do that? Both Arrays have different size. I also have to check if test2[] contains a substring of test1[].
String[] test = {"Test1", "Test2"};
String[] test2 = {"Test3", "Test4", "Test5", "Test6", "Test1 - Test7"};
test2containtestas a subset, or it should contain any value fromtestor it should contain a (continuous or not) subsequence oftest