So I have an array of strings (let's call it array1) and then I have another array (array2 say) and I want to check if array2 is a subset of array1.. is there a simple command for that?
edit:
scenario2
I have array1 (which is user generated through an edittext with strings say names of people) and I have a matrix that I want to check to see if each individual row is a subset of array1.. for example.. array1 = "bob" , "john" , "joe" , "frank" and I have a 2x3 matrix with names in each of 6 items of it and I want to check if each row is a subset of array1.. so if row1 of the matrix was equal to "jim" , "joe" , "frank" and row2 was equal to "joe" , "bob" , "frank" then only row2 would be a subset of array1