Jump to content
  • 0

ignore duplicates in 2 different array


Question

Posted (edited)

Hi rAthena,

Is there a way to ignore duplicates in 2 different array without removing it to the array

Quote

 

setarray .@main, 20,21,22,23,24,25; // Main Value

setarray .@ignore, 21,25; // Ignoring Value

 

it should return like 20, 22, 23, 24

 

Please help me

Thank you in advance

 

 

Edited by hakuren

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...