Expand description
Array-related formatting helpers. Pan-style array manipulation helpers.
Functionsยง
- array
- Returns the 1-based
itemfromtextsplit bysep. - arrayboth
- Returns unique elements present in both arrays.
- arraybuild
- Placeholder that requires database scanning and formula evaluation.
- arraybuild_
from_ iter - Joins iterator items with
sepinto a single array string. - arraychange
- Replaces the 1-based
itemwithvaluewhen it exists. - arraycolumn
- Extracts a column from a row/column delimited table.
- arraycontains
- Returns true if any element equals
needle. - arraydeduplicate
- Removes duplicate elements and returns a sorted array.
- arraydelete
- Deletes
countitems starting at the 1-baseditemindex. - arraydeletevalue
- Removes alternating matches of
value. - arraydifference
- Returns unique elements in
a1that are not ina2. - arrayelement
- Returns the 1-based element index containing
position. - arrayfirst
- Returns the first element in the array.
- arrayinsert
- Inserts
countempty elements at the 1-baseditemposition. - arrayitem
- Alias for
array. - arraylast
- Returns the last element in the array.
- arraylefttrim
- Removes
countelements from the start of the array. - arraylookup
- Looks up
keyin key/value rows and returns its value. - arraymerge
- Zips two arrays, joining corresponding elements with
joiner. - arraynotcontains
- Returns true if no element equals
needle. - arraynumericsort
- Returns the array sorted by numeric value.
- arraynumerictotal
- Sums numeric elements of the array.
- arrayrandomize
- Deterministically shuffles elements based on the input.
- arrayrange
- Returns a slice from
firsttolast(inclusive), 1-based. - arrayreplacevalue
- Replaces alternating matches of
oldvaluewithnewvalue. - arrayreverse
- Reverses the order of the array elements.
- arrayreverselookup
- Looks up
keyas a value and returns its row key. - arrayscan
- Placeholder that requires export/arraybuild iteration context.
- arraysearch
- Searches for a wildcard pattern and returns a 1-based index.
- arrayselected
- Returns elements from
textthat correspond to non-empty elements inselection. - arrayselectedbuild
- Placeholder that requires database scanning and formula evaluation.
- arraysize
- Returns the number of elements, including empty ones.
- arraysort
- Returns the array sorted lexicographically.
- arraystrip
- Removes empty elements from the array.
- arraytableceiling
- Returns the value for
keyor the next greater table key. - arraytablefloor
- Returns the value for
keyor the next lesser table key. - arraytrim
- Removes
countelements from the end of the array. - arrayunpropagate
- Replaces consecutive duplicates with empty elements.
- lineitemarray
- Placeholder that requires database field context.
- makenumberedarray
- Builds a separator-joined sequence from
starttoend(inclusive).