$textSplit

Splits the provided text by a given separator and saves the value temporarily.

📌 To retrieve the split values, use $splitText.

Syntax

$textSplit[Text;Separator]

Parameters

  • Text: The text to split.
  • Separator: The separator to split the text with. If this parameter is empty, it separates the text by each characters.

Example

$nomention
$textSplit[Coffee, Tea, Milk;,]
$splitText[1]

Screenshot_20221029_203537

In the above example, $textSplit splits the provided text using a comma (,) as the separator. After that, $splitText is used to retrieve the first split value.