Just a little hint: the XStringTokenizer class is also available in VSL. It's really useful.
// VSL BB code
void main()
{
// normally fill that via pIns
String text = "hallo#this#is#a#tokenizer#test#endOfMessage";
String delimiter = "#";// the tokenizer stuff
StringTokenizer tokenizer(text.Str(), delimiter.Str());
str token = NULL;
while( (token= tokenizer.NextToken(token)) != NULL )
{
bc.OutputToConsole(token);
}
}