isSubstring when given two arrays.