json.removeFirst
json.removeFirst() Function
• Introduced in version 1.4.0.3
Usage
json.removeFirst(array1, array2)
Parameters
array1
- A JSON array.array2
- A JSON array.
Compares the 2nd array with the first array and removes the first element from the first array matching an element in the second.
Example:
[json.removeFirst('[2,2,4,5,6,6,4]', '[2,6]')] => [2,4,5,6,4]