Converts a string to an array
if no token is specified a comma is used
you can get the number of the token in the variable "value"
tools=string2array=<string>=<array>=<token>
Note: BeasScript don't support real Arrays. It's only a simulation of normal arrays with a number in variable name.
Example:
setvar=mystring=5,4,3,6,3
tools=string2array=<mystring>=myarray=,
setvar=e_count=<value>
meldung=Count:<e_count>, <myarray1> <myarray2> <myarray3>
// return: 5 4 3
dw_1.reset
for=loop=1=<e_count>
insertrow
setrow=<loop>
setitem=myitem=<myarray[loop]>
next