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

📌 To retrieve the split values, use $splitText.




  • 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.


$textSplit[Coffee, Tea, Milk;,]


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.