Skip to main content

$filterTextSplitElement

Usage

Filters elements from the array resulting from the $textSplit command based on a query and filtering type.

Parameters

FieldDescription
queryThe query to filter elements by
typeThe type of filtering (equal, starts, ends, includes) (default: equal)
separatorThe separator used to split the text array (default: ",")

Example

<AoiClient>.addCommand({
name: "filterTextSplitElement",
code: `$filterTextSplitElement[query;type;separator]`,
});