From The Mana World

Argument Splitter

The argument splitter (script_split_str) can be used to split a string passed to a spell into multiple arguments.


Basic usage

the usage is:
(CALL script_split_str delimiter string variable maximum)

consider this code:
(CALL script_split_str " " target "arg" 2)

In the above example, the string "target" is splitted at every whitespace character (" ") and stored into @arg0$, @arg1$ and @arg2$ (maximum being 2)