token

beasscript-logo-small

returns the next token of a specified variable (only type variable!) to the variable "value"

The token is deleted from the variable.

 

token=variablename=token

 

Example:

setvar=mystring=first<char 9>second<char 9>third
tools=token=mystring=<char 9>
// return: first token "first", rest "second        third"
meldung=first token "<value>", rest "<mystring>" 

 

If token is not specified, <cr_lf> is used.