Array.diff()
 
   
[Top]
predef::
Array

Method Array.diff()


Method diff

array(array(array)) Array.diff(array a, array b)

Description

Calculates which parts of the arrays that are common to both, and which parts that are not.

Returns

Returns an array with two elements, the first is an array of parts in array a , and the second is an array of parts in array b .

See also

diff_compare_table() , diff_longest_sequence() , String.fuzzymatch()


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS