Announcement

Collapse
No announcement yet.

Compare 2 Arrays with multiple Items

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Compare 2 Arrays with multiple Items

    Hello. I'm trying to compare two arrays in the sametime. And only when both have the same items, I want to set a branch to True.

    Up to now it is only checked if there is an item in the array, not multiple.

    Hope you guys can help me.

    #2
    Need specifics, what you're asking is sort of broad. You're looking to see if both arrays are the same, as in containing the same items, having the same array length and possibly being in different orders?

    Comment


      #3
      I just want to check if both arrays contain the same names. If Arrays A contains Name1/Name2 and Array B also contains the same names, i want to switch to True. The length or the order does not matter. Only if all names that are contained in array A are also contained in array B.

      Comment


        #4
        Here is a simple way to do it :

        Click image for larger version

Name:	Test802.PNG
Views:	374
Size:	58.9 KB
ID:	1649446

        Click image for larger version

Name:	Test801.PNG
Views:	384
Size:	157.5 KB
ID:	1649445
        Website [ LINK ]
        Twitter [ LINK ]
        Support ! [ LINK ]

        Comment


          #5
          Thank you, that works great.

          Comment

          Working...
          X