I don't know if this either a bug or a planned thing, but I do question the necessity for it. Anyway:
$gettok(...,0,46) will return 0, although i think it should return 4, because there are 4 $chr(46) delimeters in the string.
The same error occurs when using the following:
$gettok(1.2..4,3,46) will return 4 in stead of nothing.
So it seems that if a token is empty, it gets discarded, although according to the delimiter characters, the token should exist and contain an empty string.
Bug or what?