Skip to content

$advancedTextSplit

$advancedTextSplit will split multiple given arguments.

Usage

$advancedTextSplit[text;sep;index;sep?;index?]

Parameters

FieldTypeDescriptionRequired
textstringText to split.true
sepstringSeparator which is used to split the values.true
indexnumberThe position of the text you want to be returned.true

Example(s)

This will split Hello from Bye and return Hello:

1
client.command({
2
name: "advancedTextSplit",
3
code: `
4
$advancedTextSplit[Hello/Bye;/;1]
5
`
6
});