$editSplitText

Edits a splitted text element using its index.

Syntax

$editSplitText[Index;Value]

Parameters

  • Index (Type: Integer || Flag: Required): The index of the element to edit.
  • Value (Type: String || Flag: Required): The new value to assign to the provided index.

Example

$nomention

$textSplit[$message; ]

$var[Index;$splitText[$sub[$getTextSplitLength;1]]]
$var[Value;$splitText[$getTextSplitLength]]

$removeSplitTextElement[$getTextSplitLength]
$removeSplitTextElement[$getTextSplitLength]

$var[Text;$joinSplitText[ ]]

$textSplit[$var[Text];]
$editSplitText[$var[Index];$var[Value]]

Original Text: $var[Text]
New Text: $joinSplitText[]

example

For more info, see the Text Splitting Guide.