Skip to content

$removeSplitTextElement

$removeSplitTextElement will remove a specific split text element.

Usage

$removeSplitTextElement[...elements]

Parameters

FieldTypeDescriptionRequired
…elementsstringSplit text elements to remove.true

Example(s)

This will remove the word “bye” from the array:

1
client.command({
2
name: "removeSplitTextElement",
3
code: `
4
$removeSplitTextElement[bye]
5
$textSplit[hello, bye, aoi.js;, ]
6
`
7
});