Two things you can try to get the result. one with comparison of array and another grep method.
Also you want to check all elements presents in another array or if anything fails we can print fail or for single pass we can print pass.
In reply to Re: if else statement check an array
by Selvakumar
in thread if else statement check an array
by sqspat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |