Hi All, is there a way to check the existence of multiple elements in an array? If array has 10 elements but I need to make sure 3 specific elements exist before I have script do something.
Thanks in advance!!!!@FILES=("ABC","DEF","GHI","JKL","MNO","PQR","STU"); if ABC & GHI & MNO all exist in @FILES do something else do something else
In reply to Check Array Elements by mmittiga17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |