Maptitude GISDK Help

ArrayIntersect()

Summary

Creates an array that contains the elements of the array a that are also in array b.

 

Changes

Added to Version 2019.

 

arr = ArrayIntersect(array a, array b)

 

Argument

Contents

a

The input array

b

An array with elements to find in input

 

Returns

An array with the elements in a that were found in b.

 

Example

input = {1,2,1,6,2,5}

compare = {4,2,6}

ArrayIntersect(input, compare) // returns {2,6,2}

 

See Also

Function

Summary

ArrayExclude()

Excludes elements from an array

ExcludeArrayElements()

Removes elements from an array

InsertArrayElements()

Inserts elements into an array

 

 

©2025 Caliper Corporation www.caliper.com