Tagscript

Split

TagScript


Function: split()

split(str, extended): string[]

Defined in: Utils/Util.ts:105

Split a string by |, but ignore escaped characters.

Parameters

str

string

The string to split

extended

boolean = false

allow ~ or , as separators

Returns

string[]

Remarks

If extended if true, it will also split by ~ and ,

On this page