Actions
Bug #5557
closed$*tok() + $*tokcs() identifiers return incorrect value in some cases
Start date:
04/29/2022
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
It seems AdiIRC returns incorrect values when using the following syntaxes.
Also if delimiter is $null
all $*tok()
identifiers should return $null
$addtok(one|two||three||four|,five,124) == should return one|two|three|four|five $gettok(one|two|three|four,-0,124) == should return 4 $findtok(one|two|three|four,,0,124) == should return $null $findtok(one|two|three|four,0,0,124) == should return $null $instok(one|two|three|four,five,2-,124) == should return one|five|two|three|four $matchtok(one|two|three|four,$null,0,124) == should return $null $matchtok(one|two|three|four,e,1-,124) == should return one $matchtok(one|two|three|four,e,-1,124) == should return $null $matchtok(one|two|three|four,e,,124) == should return $null $puttok(one|two|three|four,five,,124) == should return $null $puttok(one|two|three|four,,,124) == should return $null $remtok(one|two|three|four,,,124) == should return $null $remtok(one|two|three|four,e,,124) == should return $null $reptok(one|two|three|four,,,,124) == should return $null $sorttok(one|two|three|four,,124) == should return $null $sorttok(one|two|three|four,124,) == should return $null
- Thanks!
Actions