WoW:API strsplit: Difference between revisions

m
Move page script moved page API strsplit to WoW:API strsplit without leaving a redirect
m (Move page script moved page API strsplit to WoW:API strsplit without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:


== Arguments ==
== Arguments ==
<!-- List each argument, together with its type -->
;delimiter : String - Characters (bytes) that will be interpreted as delimiter characters (bytes) in the string.
:(delimiter, subject)
;subject : String - String to split.
 
;pieces : Number (optional) - 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.
:;delimiter : String - Delimiter (every single byte of the string will be used to split; see details)
:;subject : String - String to split
:;pieces : integer - Optional argument designating the number of pieces to make.
 


== Returns ==
== Returns ==
Anonymous user