Skip to content

$textSplit

$textSplit will split a message into parts based on a specify separator, allowing you to access each part individually by its position.

Usage

$textSplit[text;sep?]

Parameters

FieldTypeDescriptionRequired
textstringQuery of arguments.true
sep?stringSeparator for the text arguments.false

Example(s)

This will return hello, how are you:

1
client.command({
2
name: "textSplit",
3
code: `
4
$splitText[1] $splitText[3] $splitText[6] $splitText[7]
5
$textSplit[hello,__blurr__how__ayaka__leref__are__you;__]
6
`
7
});