$textSplit

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

Syntax

$textSplit[Text;Separator]

Parameters

  • Text (Type: String || Flag: Emptiable): The text to split.
  • Separator (Type: String || Flag: Emptiable): The separator to split the text with. If this parameter is empty, it separates the text by each character.

Example

$nomention
$textSplit[Hello-world-!;-]
> $splitText[2]
!example world

What is this?

How $splitText[] works?

Read more

For more information, read the Text Splitting Guide.