m
no edit summary
(Add note about multiple occurences of separator and add example using string.gmatch) |
mNo edit summary |
||
| Line 12: | Line 12: | ||
:;delimiter : String - Delimiter | :;delimiter : String - Delimiter | ||
:; | :;subject : String - String to split | ||
| Line 21: | Line 21: | ||
== Example == | == Example == | ||
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | ||
local a, b, c = strsplit(" | local a, b, c = strsplit(" ", "a b c") | ||
<big>'''Result'''</big> | <big>'''Result'''</big> | ||