m
Move page script moved page API strsplit to WoW:API strsplit without leaving a redirect
No edit summary |
m (Move page script moved page API strsplit to WoW:API strsplit without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
== Arguments == | == Arguments == | ||
;delimiter : String - Characters (bytes) that will be interpreted as delimiter characters (bytes) in the string. | |||
;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. | |||
== Returns == | == Returns == | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
A list of strings. Not a table. | A list of strings. Not a table. If the delimiter is not found in the subject string, the whole subject string will be returned. | ||
== Example == | == Example == | ||