array(array(int)) Array.diff_compare_table(array a, array b)
Returns an array which maps from index in a to corresponding indices in b .
> Array.diff_compare_table( ({ "a","b","c" }), ({ "b", "b", "c", "d", "b" })); Result: ({ ({ }), ({ 0, 1, 4 }), ({ 2 }) })
diff() , diff_longest_sequence() , String.fuzzymatch()