rdrop( array, number )
Drops a given number of values from the right side of an array, and returns the resulting array.
Keyword | Type | Description |
---|---|---|
|
Any Type Array |
The array to modify. |
|
Integer |
The number of values to drop from the array. |
Any Type Array
The number value must be greater than or equal to 0.
rdrop({10, 20, 30, 40}, 1)
returns 10, 20, 30
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
rdrop() Function