RASHAD wrote:Hi LJ
In that case you can consider 0 as
If this parameter isn't specified, the whole string is searched.
I would use #PB_Any in this case, but all is working
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
In your code above, you did specify the third parameter (= passed the value 0 for it).
The third parameter specifies the start position, but there is no 0th start position.
First of all logically the position must be specified to count the occurrence of the target from
The manual said the first position is 1 and that we can call a specified position
0 (Null) Means not specified
It can not be Void while there is some other parameter we can use