v0.13.6

string.split

functionimplementedavailable in: camelot

Splits a string using a delimiter.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
delimiterstringCharacters (bytes) that will be interpreted as delimiter characters (bytes) in the string.
strstringString to split.
piecesnumber?Maximum number of pieces to make (the "last" piece would contain the rest of the string); by default, an unbounded number of pieces is returned.

Returns

#nametype
1s1,string
2...unknown

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.