Array Difference

Find elements in the first array that are not present in the second array.

Code

General
arr1 - arr2

Parameters

First array

Second array

Server

More Ruby Snippets