Skip to content
Math & Text splitTextJoin

$splitTextJoin — Joins all elements from array with given separator

Joins all elements from array with given separator

Syntax

$splitTextJoin[separator]

Parameters

  • separator (text, required) — The separator to use for every element

Return Value

  • Unknown[].

Usage

$splitTextJoin[separator] → result

Example

$sendMessage[$segmentTextSplit[abc]$splitTextJoin[|]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.