Hello,
Actually am getting outputs of executing two different commands as an array shown below. I want to check if all the nodes in 1st array are present in second array.
$VAR1 = [
'<3x2 IO 2>
',
'R10-IC
',
'R21-ID
',
'R00-ID
',
'R20-ID
',
'R11-ID
',
'R00-IC
',
'R01-ID
',
'R21-IC
',
'R01-IC
',
'R20-IC
',
'R11-IC
',
'R10-ID
'
];
$VAR1 = [
'
',
'LOCATION
',
'--------
',
'R00-IC
',
'R00-ID
',
'R01-IC
',
'R01-ID
',
'R10-IC
',
'R10-ID
',
'R11-IC
',
'R11-ID
',
'R20-IC
',
'R20-ID
',
'R21-IC
',
'R21-ID
',
'
',
' 12 record(s) selected.
',
'
'
];
I wanted to compare this two arrays ignoring <3x2 IO 2>, 'LOCATION, '-------- and 12 record(s) selected.
Thanks.