| Maptitude GISDK Help |
Excludes elements from an array.
Added to Version 6.0/2012.
arr = ArrayExclude(array input, array excl)
| Argument | Contents |
|---|---|
| input | The input array |
| excl | An array with elements to exclude from input |
An array with the elements in excl excluded.
You can exclude missing elements by having null as an element in excl.
ArrayExclude() is case-sensitive for strings.
// Remove 3 and null from the elements
input = {1,null,3,null,5}
excl = {3,null}
ShowArray(ArrayExclude(input, excl)) // shows resulting array {1,5}
| Function | Summary |
|---|---|
| ArrayIntersect() | Creates an array that contains the elements of the array a that are also in array b |
| ExcludeArrayElements() | Removes elements from an array |
| InsertArrayElements() | Inserts elements into an array |
| ©2025 Caliper Corporation | www.caliper.com |